Package org.pathvisio.libgpml.util
Class RootElementFinder.RootElementHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.pathvisio.libgpml.util.RootElementFinder.RootElementHandler
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
- Enclosing class:
- RootElementFinder
static class RootElementFinder.RootElementHandler
extends org.xml.sax.helpers.DefaultHandler
Root element handler class.
- Author:
- unknown
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RootElementHandler()
-
Method Summary
Modifier and Type Method Description java.lang.String
getRootQName()
java.lang.String
getRootUri()
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, endElement, 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
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
rootQName
private java.lang.String rootQName -
rootUri
private java.lang.String rootUri
-
-
Constructor Details
-
RootElementHandler
RootElementHandler()
-
-
Method Details
-
startElement
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- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
getRootQName
public java.lang.String getRootQName() -
getRootUri
public java.lang.String getRootUri()
-