org.forester.io.parsers.phyloxml
Class PhyloXmlParser
java.lang.Object
org.forester.io.parsers.phyloxml.PhyloXmlParser
- All Implemented Interfaces:
- PhylogenyParser
public class PhyloXmlParser
- extends Object
- implements PhylogenyParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXP_SCHEMA_LANGUAGE
public static final String JAXP_SCHEMA_LANGUAGE
- See Also:
- Constant Field Values
W3C_XML_SCHEMA
public static final String W3C_XML_SCHEMA
- See Also:
- Constant Field Values
JAXP_SCHEMA_SOURCE
public static final String JAXP_SCHEMA_SOURCE
- See Also:
- Constant Field Values
SAX_FEATURES_VALIDATION
public static final String SAX_FEATURES_VALIDATION
- See Also:
- Constant Field Values
APACHE_FEATURES_VALIDATION_SCHEMA
public static final String APACHE_FEATURES_VALIDATION_SCHEMA
- See Also:
- Constant Field Values
APACHE_FEATURES_VALIDATION_SCHEMA_FULL
public static final String APACHE_FEATURES_VALIDATION_SCHEMA_FULL
- See Also:
- Constant Field Values
APACHE_PROPERTIES_SCHEMA_EXTERNAL_LOCATION
public static final String APACHE_PROPERTIES_SCHEMA_EXTERNAL_LOCATION
- See Also:
- Constant Field Values
PhyloXmlParser
public PhyloXmlParser()
createPhyloXmlParserXsdValidating
public static PhyloXmlParser createPhyloXmlParserXsdValidating()
getErrorCount
public int getErrorCount()
getErrorMessages
public StringBuffer getErrorMessages()
getWarningCount
public int getWarningCount()
getWarningMessages
public StringBuffer getWarningMessages()
isValid
public boolean isValid()
parse
public Phylogeny[] parse()
throws IOException,
PhylogenyParserException
- Specified by:
parse
in interface PhylogenyParser
- Throws:
IOException
PhylogenyParserException
setSource
public void setSource(Object source)
- Specified by:
setSource
in interface PhylogenyParser
setValidateAgainstSchema
public void setValidateAgainstSchema(String schema_location)
setZippedInputstream
public void setZippedInputstream(boolean zipped_inputstream)