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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParser(String exitElementName, DefaultHandler caller) Creates a parser for JPMS Module requirements. -
Method Summary
Modifier 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.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
allJpmsModules
-
-
Constructor Details
-
Parser
Creates 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
-
startElement
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int end) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-