public class XMLRoot extends XMLNode
attributes, children, name, nodeParent
Constructor and Description |
---|
XMLRoot(String nodeName)
Create the root Node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Return true if this node is equal to another Object.
|
String |
getEncoding()
Return the declared encoding of the XML file.
|
int |
hashCode() |
void |
setEncoding(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(String nodeName)
nodeName
- the Node namepublic void setEncoding(String encoding)
encoding
- the encoding of the XML filepublic String getEncoding()
public boolean equals(Object o)
Copyright © 2023. All rights reserved.