public class XMLRoot extends XMLNode
attributes, children, name, nodeParent
Constructor and Description |
---|
XMLRoot(java.lang.String nodeName)
Create the root Node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Return true if this node is equal to another Object.
|
java.lang.String |
getEncoding()
Return the declared encoding of the XML file.
|
int |
hashCode() |
void |
setEncoding(java.lang.String encoding)
Set the encoding of the XML file.
|
addAttribute, addAttribute, addAttribute, addAttribute, addChild, countAttributes, countChildren, getAttributes, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsBoolean, getAttributeValueAsFloat, getAttributeValueAsFloat, getAttributeValueAsInt, getAttributeValueAsInt, getCDATA, getChildren, getDoubleValue, getDoubleValue, getFirstChild, getLastChild, getLengthValue, getLengthValue, getLengthValue, getLengthValue, getLengthValue, getLineWidthValue, getName, getNextSibling, getParent, getPositionValue, getPositionValue, getPositionValue, getPreviousSibling, hasAttribute, hasCDATA, hasChildren, setCDATA, toString
public XMLRoot(java.lang.String nodeName)
nodeName
- the Node namepublic void setEncoding(java.lang.String encoding)
encoding
- the encoding of the XML filepublic java.lang.String getEncoding()
public boolean equals(java.lang.Object o)
Copyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence