|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.deckfour.xes.extension.XExtensionParser.XExtensionHandler
protected class XExtensionParser.XExtensionHandler
SAX handler class for extension definition files.
Field Summary | |
---|---|
protected XAttribute |
currentAttribute
The currently parsed attribute definition. |
protected XExtension |
extension
The extension to be parsed. |
protected XFactory |
factory
Factory for creating attributes. |
protected java.util.Collection<XAttribute> |
xAttributes
Buffer for parsed attribute definitions. |
Constructor Summary | |
---|---|
XExtensionParser.XExtensionHandler()
Constructor, resets the handler. |
Method Summary | |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
XExtension |
getExtension()
Retrieves the parsed extension after parsing. |
void |
reset()
Resets the handler to initial state. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XExtension extension
protected XAttribute currentAttribute
protected java.util.Collection<XAttribute> xAttributes
protected XFactory factory
Constructor Detail |
---|
public XExtensionParser.XExtensionHandler()
Method Detail |
---|
public void reset()
public XExtension getExtension()
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |