Class JpmsModuleUtilities.Parser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.inductiveautomation.ignition.client.launch.util.JpmsModuleUtilities.Parser
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
- Enclosing class:
- JpmsModuleUtilities
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionParser(String exitElementName, DefaultHandler caller) Creates a parser for JPMS Module requirements.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int end) voidendElement(String uri, String localName, String name) voidstartElement(String uri, String localName, String name, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandlerendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandlerdeclaration
- 
Field Details- 
allJpmsModules
 
- 
- 
Constructor Details- 
ParserCreates a parser for JPMS Module requirements. IfexitElementandcallerare both Nonnull then when theexitElementis reached the caller'sDefaultHandler.endElement(String, String, String)is called. It is typically expected that the caller would resume parsing from here by setting itself as the default content handler viaXMLReader.setContentHandler(ContentHandler).
 
- 
- 
Method Details- 
getJpmsModules
- 
startElementpublic void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException - Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- DefaultHandler
- Throws:
- SAXException
 
- 
endElement- Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- DefaultHandler
- Throws:
- SAXException
 
- 
characterspublic void characters(char[] ch, int start, int end) - Specified by:
- charactersin interface- ContentHandler
- Overrides:
- charactersin class- DefaultHandler
 
 
-