|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.stree.Child
**For internal use only** Class representing a child node
Constructor Summary | |
Child(DocumentImpl doc)
Constructor Child |
Method Summary | |
void |
dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
NamedNodeMap |
getAttributes()
Unimplemented. |
Node |
getFirstChild()
The first child of this node. |
Node |
getLastChild()
The last child of this node. |
short |
getLevel()
**For internal use only** Get the depth level of this node in the tree. |
java.lang.String |
getLocalName()
Returns the local part of the qualified name of this node. |
java.lang.String |
getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified. |
Node |
getNextSibling()
The node immediately following this node. |
Document |
getOwnerDocument()
The Document object associated with this node. |
Node |
getParentNode()
The parent of this node. |
java.lang.String |
getPrefix()
The namespace prefix of this node, or null if it is
unspecified. |
Node |
getPreviousSibling()
The node immediately preceding this node. |
java.lang.String |
getTagName()
UnImplemented. |
int |
getUid()
Get the UID (document order index). |
boolean |
hasChildNodes()
This is a convenience method to allow easy determination of whether a node has any children. |
boolean |
isComplete()
Return if this node has had all it's children added, i.e. |
boolean |
isNamespaceNode()
Tell if the given node is a namespace decl node. |
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Unimplemented. |
void |
setComplete(boolean isComplete)
Set that this node's child list is complete, i.e. |
void |
setLevel(short level)
**For internal use only** Get the depth level of this node in the tree. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Child(DocumentImpl doc)
doc
- document objectMethod Detail |
public boolean isComplete()
public void setComplete(boolean isComplete)
isComplete
- true if this node has had all it's
children added.public int getUid()
public short getLevel()
public void setLevel(short level)
level
- This child's level in the source treepublic Node getParentNode()
Attr
,
Document
, DocumentFragment
,
Entity
, and Notation
may have a parent.
However, if a node has just been created and not yet added to the
tree, or if it has been removed from the tree, this is
null
.public Node getFirstChild()
null
.public Node getLastChild()
null
.public Node getPreviousSibling()
null
.public Node getNextSibling()
null
.public Document getOwnerDocument()
Document
object associated with this node. This is
also the Document
object used to create new nodes. When
this node is a Document
or a DocumentType
which is not used with any Document
yet, this is
null
.public boolean hasChildNodes()
true
if the node has any children,
false
if the node has no children.public boolean isSupported(java.lang.String feature, java.lang.String version)
feature
- The string of the feature to test. This is the same name
that which can be passed to the method hasFeature
on
DOMImplementation
.version
- This is the version number of the feature to test. In
Level 2, version 1, this is the string "2.0". If the version is not
specified, supporting any version of the feature will cause the
method to return true
.true
if the specified feature is supported
on this node, false
otherwise.public java.lang.String getNamespaceURI()
null
if it is
unspecified.public java.lang.String getPrefix()
null
if it is
unspecified.public java.lang.String getLocalName()
createElement
from the Document
interface,
it is null
.public java.lang.String getTagName()
public NamedNodeMap getAttributes()
public void setAttribute(java.lang.String name, java.lang.String value) throws DOMException
name
- Attribute namevalue
- Attribute valuepublic boolean isNamespaceNode()
public void dispatchCharactersEvent(ContentHandler ch) throws SAXException
ch
- Content handler to handle SAX events
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |