Package nu.validator.saxtree
Class Node
java.lang.Object
nu.validator.saxtree.Node
- Direct Known Subclasses:
CharBufferNode,ParentNode,ProcessingInstruction,SkippedEntity
The common node superclass.
- Version:
- $Id$
- Author:
- hsivonen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddetach()Detach this node from its parent.Returns the attributes.intgetData()Returns the data.Return the first child.intReturns the localName.getName()Returns the name.final NodeReturns the nextSibling.abstract NodeTypeReturn the node type.final ParentNodeReturns the parentNode.Returns the prefixMappings.final NodeReturns the previous siblingReturns the publicIdentifier.getQName()Returns the qName.Returns the systemIdentifier.Returns the target.getUri()Returns the uri.
-
Method Details
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceLocator- See Also:
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceLocator- See Also:
-
getPublicId
- Specified by:
getPublicIdin interfaceLocator- See Also:
-
getSystemId
- Specified by:
getSystemIdin interfaceLocator- See Also:
-
getXMLVersion
- Specified by:
getXMLVersionin interfaceLocator2- See Also:
-
getEncoding
- Specified by:
getEncodingin interfaceLocator2- See Also:
-
getFirstChild
Return the first child.- Returns:
- the first child
-
getNextSibling
Returns the nextSibling.- Returns:
- the nextSibling
-
getPreviousSibling
Returns the previous sibling- Returns:
- the previous sibling
-
getParentNode
Returns the parentNode.- Returns:
- the parentNode
-
getNodeType
Return the node type.- Returns:
- the node type
-
detach
public void detach()Detach this node from its parent. -
getName
Returns the name.- Returns:
- the name
-
getPublicIdentifier
Returns the publicIdentifier.- Returns:
- the publicIdentifier
-
getSystemIdentifier
Returns the systemIdentifier.- Returns:
- the systemIdentifier
-
getAttributes
Returns the attributes.- Returns:
- the attributes
-
getLocalName
Returns the localName.- Returns:
- the localName
-
getPrefixMappings
Returns the prefixMappings.- Returns:
- the prefixMappings
-
getQName
Returns the qName.- Returns:
- the qName
-
getUri
Returns the uri.- Returns:
- the uri
-
getData
Returns the data.- Returns:
- the data
-
getTarget
Returns the target.- Returns:
- the target
-