|
||||||||||
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 Collection<XAttribute> |
xAttributes
Buffer for parsed attribute definitions. |
Constructor Summary | |
---|---|
XExtensionParser.XExtensionHandler()
Constructor, resets the handler. |
Method Summary | |
---|---|
void |
endElement(String uri,
String localName,
String qName)
|
XExtension |
getExtension()
Retrieves the parsed extension after parsing. |
void |
reset()
Resets the handler to initial state. |
void |
startElement(String uri,
String localName,
String qName,
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 Collection<XAttribute> xAttributes
protected XFactory factory
Constructor Detail |
---|
public XExtensionParser.XExtensionHandler()
Method Detail |
---|
public void reset()
public XExtension getExtension()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |