Package org.forester.io.parsers.phyloxml
Class XmlElement
java.lang.Object
org.forester.io.parsers.phyloxml.XmlElement
-
Field Summary
-
Constructor Summary
ConstructorDescriptionXmlElement
(String namespaceUri, String localName, String qualifiedName, Attributes attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildElement
(XmlElement element) void
appendValue
(String value) getAttribute
(String attribute_name) getChildElement
(int i) int
boolean
double
int
boolean
isHasAttribute
(String attribute_name) boolean
void
[Careful, this does not call "new String(...)"]toString()
-
Field Details
-
DEBUG
public static final boolean DEBUG- See Also:
-
-
Constructor Details
-
XmlElement
public XmlElement(String namespaceUri, String localName, String qualifiedName, Attributes attributes)
-
-
Method Details
-
addChildElement
-
appendValue
-
getAttribute
-
getAttributes
-
getChildElement
-
getNumberOfChildElements
public int getNumberOfChildElements() -
getParent
-
getQualifiedName
-
getValueAsBoolean
- Throws:
PhylogenyParserException
-
getValueAsDouble
- Throws:
PhyloXmlDataFormatException
-
getValueAsInt
- Throws:
PhyloXmlDataFormatException
-
getValueAsString
-
isHasAttribute
-
isHasValue
public boolean isHasValue() -
setValue
[Careful, this does not call "new String(...)"]- Parameters:
value
-
-
toString
-