public class XMLNumberedRoot extends XMLRoot
XMLNode.BoundPrefix
attributes, attributesOrder, boundPrefixes, boundURIs, cData, children, nodeParent, qname, SCHEMA_INSTANCE, SCHEMA_URI
Constructor and Description |
---|
XMLNumberedRoot(QName qname)
Create the Node.
|
XMLNumberedRoot(QName qname,
int lineNumber)
Create the Node.
|
XMLNumberedRoot(String nodeName)
Create the root Node, with a local part.
|
XMLNumberedRoot(String nodeName,
int lineNumber)
Create the root Node.
|
Modifier and Type | Method and Description |
---|---|
XMLNumberedRoot |
copy()
Create a copy of this node.
|
XMLNumberedRoot |
copy(boolean deep)
Create a copy of this node.
|
int |
getLineNumber()
Return the line number of the Node in the XML file.
|
boolean |
hasLineNumber()
Return true if the Node has an associated line number.
|
copyAsCommentedNode, equals, getEncoding, getURI, hashCode, setEncoding, setURI
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChild, addChild, attributesIterator, attributeValueIsBoolean, attributeValueIsBoolean, attributeValueIsByte, attributeValueIsByte, attributeValueIsChar, attributeValueIsChar, attributeValueIsDouble, attributeValueIsDouble, attributeValueIsFloat, attributeValueIsFloat, attributeValueIsInt, attributeValueIsInt, attributeValueIsInt, attributeValueIsLong, attributeValueIsLong, attributeValueIsLong, attributeValueIsLong, attributeValueIsShort, attributeValueIsShort, bindPrefix, CDATAValueIsBoolean, CDATAValueIsByte, CDATAValueIsChar, CDATAValueIsDouble, CDATAValueIsFloat, CDATAValueIsInt, CDATAValueIsInt, CDATAValueIsLong, CDATAValueIsLong, CDATAValueIsShort, countAttributes, countChildren, getAllChildren, getAllChildren, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsBoolean, getAttributeValueAsBoolean, getAttributeValueAsByte, getAttributeValueAsByte, getAttributeValueAsByte, getAttributeValueAsChar, getAttributeValueAsChar, getAttributeValueAsChar, getAttributeValueAsDouble, getAttributeValueAsDouble, getAttributeValueAsDouble, getAttributeValueAsFloat, getAttributeValueAsFloat, getAttributeValueAsFloat, getAttributeValueAsInt, getAttributeValueAsInt, getAttributeValueAsInt, getAttributeValueAsInt, getAttributeValueAsLong, getAttributeValueAsLong, getAttributeValueAsLong, getAttributeValueAsLong, getAttributeValueAsQName, getAttributeValueAsQName, getAttributeValueAsShort, getAttributeValueAsShort, getAttributeValueAsShort, getBoundedURI, getBoundPrefix, getBoundPrefixes, getBoundURIs, getCDATA, getCDATAValueAsBoolean, getCDATAValueAsByte, getCDATAValueAsChar, getCDATAValueAsDouble, getCDATAValueAsFloat, getCDATAValueAsInt, getCDATAValueAsInt, getCDATAValueAsLong, getCDATAValueAsLong, getCDATAValueAsShort, getCDATAValueAsString, getChild, getChildren, getCompleteName, getEscapedCDATA, getFirstChild, getIndex, getIndexInParent, getIndirectBoundedURI, getIndirectBoundPrefix, getLastChild, getLocalPart, getName, getNamespaceURI, getNextSibling, getNodeLevel, getNodePath, getParent, getPrefix, getPrefixedName, getPreviousSibling, getQualifiedName, getSchemaLocationDeclaration, getSchemaLocationValue, hasAttribute, hasAttribute, hasAttribute, hasAttributes, hasBoundPrefix, hasBoundPrefixes, hasBoundURI, hasBoundURIs, hasCDATA, hasChildren, hasIndirectBoundPrefix, hasIndirectBoundURI, hasParent, hasSchemaLocationDeclaration, isWellFormed, iterator, orderedAttributesIterator, removeAttribute, removeAttribute, search, search, search, search, searchFirst, searchFirst, searchFirst, searchFirst, searchFirstForNames, searchFirstForNames, searchForNames, searchForNames, setBoundPrefixes, setCDATA, setParent, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
getComment, hasComment, setComment
setLineNumber
public XMLNumberedRoot(String nodeName)
nodeName
- the Node nameXMLNode.XMLNode(java.lang.String)
public XMLNumberedRoot(QName qname)
qname
- the Node qualified namepublic XMLNumberedRoot(String nodeName, int lineNumber)
nodeName
- the Node namelineNumber
- the line number of the Node in the XML filepublic XMLNumberedRoot(QName qname, int lineNumber)
qname
- the Node qualified namelineNumber
- the line number of the Node in the XML filepublic int getLineNumber()
public boolean hasLineNumber()
public XMLNumberedRoot copy()
public XMLNumberedRoot copy(boolean deep)