Package nu.validator.saxtree
Class Node
java.lang.Object
nu.validator.saxtree.Node
- All Implemented Interfaces:
Locator
- Direct Known Subclasses:
CharBufferNode
,ParentNode
,ProcessingInstruction
,SkippedEntity
The common node superclass.
- Version:
- $Id$
- Author:
- hsivonen
-
Method Summary
Modifier and TypeMethodDescriptionvoid
detach()
Detach this node from its parent.Returns the attributes.int
getData()
Returns the data.Return the first child.int
Returns the localName.getName()
Returns the name.final Node
Returns the nextSibling.abstract NodeType
Return the node type.final ParentNode
Returns the parentNode.Returns the prefixMappings.final Node
Returns 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:
getColumnNumber
in interfaceLocator
- See Also:
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceLocator
- See Also:
-
getPublicId
- Specified by:
getPublicId
in interfaceLocator
- See Also:
-
getSystemId
- Specified by:
getSystemId
in interfaceLocator
- 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
-