|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.utils.UnImplNode | +--org.apache.xalan.stree.Child
Constructor Summary | |
Child(DocumentImpl doc)
|
Method Summary | |
NamedNodeMap |
getAttributes()
Unimplemented. |
int |
getChildPosition()
**For internal use only** Get the position of the child of an element in the parent array. |
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. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Unimplemented. |
void |
setLevel(short level)
**For internal use only** Get the depth level of this node in the tree. |
boolean |
supports(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. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Child(DocumentImpl doc)
Method Detail |
public boolean isComplete()
public int getChildPosition()
public int getUid()
public short getLevel()
public void setLevel(short level)
public 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 supports(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
public boolean isNamespaceNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |