org.forester.io.parsers.phyloxml
Class PhyloXmlHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.forester.io.parsers.phyloxml.PhyloXmlHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public final class PhyloXmlHandler
- extends DefaultHandler
Method Summary |
static boolean |
attributeEqualsValue(XmlElement element,
String attributeName,
String attributeValue)
|
void |
characters(char[] chars,
int start_index,
int end_index)
|
void |
endElement(String namespace_uri,
String local_name,
String qualified_name)
|
static String |
getAtttributeValue(XmlElement element,
String attributeName)
|
void |
startDocument()
|
void |
startElement(String namespace_uri,
String local_name,
String qualified_name,
Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
characters
public void characters(char[] chars,
int start_index,
int end_index)
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
endElement
public void endElement(String namespace_uri,
String local_name,
String qualified_name)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String namespace_uri,
String local_name,
String qualified_name,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
attributeEqualsValue
public static boolean attributeEqualsValue(XmlElement element,
String attributeName,
String attributeValue)
getAtttributeValue
public static String getAtttributeValue(XmlElement element,
String attributeName)