public class XMLInvalidNode extends XMLNode
XMLNode.BoundPrefix
attributes, attributesOrder, boundPrefixes, boundURIs, cData, children, nodeParent, qname, SCHEMA_INSTANCE, SCHEMA_URI
Constructor and Description |
---|
XMLInvalidNode(QName qname)
Create the Node.
|
XMLInvalidNode(String nodeName)
Create the Node, with a local part.
|
XMLInvalidNode(XMLNode parent,
QName qname)
Create a Node.
|
XMLInvalidNode(XMLNode parent,
String nodeName)
Create a Node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isWellFormed()
Return true if the node is well-formed.
|
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, copy, copy, copyAsCommentedNode, countAttributes, countChildren, equals, 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, hashCode, hasIndirectBoundPrefix, hasIndirectBoundURI, hasParent, hasSchemaLocationDeclaration, 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
getLineNumber, hasLineNumber, setLineNumber
public XMLInvalidNode(String nodeName)
new XMLNode("h:element")
is equivalent to
new XMLNode(new QName(XMLConstants.NULL_NS_URI, "element", "h"))
But new XMLNode("element")
is equivalent to
new XMLNode(new QName(XMLConstants.NULL_NS_URI, "element", XMLConstants.DEFAULT_NS_PREFIX))
nodeName
- the Node namepublic XMLInvalidNode(QName qname)
qname
- the Node qualified namepublic XMLInvalidNode(XMLNode parent, String nodeName)
parent
- the Node parentnodeName
- the Node namepublic boolean isWellFormed()
isWellFormed
in class XMLNode