|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.dom.NodeImpl | +--weblogic.apache.xerces.dom.ChildNode
ChildNode inherits from NodeImpl and adds the capability of being a child by having references to its previous and next siblings.
Field Summary | |
protected ChildNode |
nextSibling
Next sibling. |
protected ChildNode |
previousSibling
Previous sibling. |
Fields inherited from class weblogic.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE,
FIRSTCHILD,
flags,
HASSTRING,
IDATTRIBUTE,
IGNORABLEWS,
OWNED,
ownerNode,
READONLY,
SPECIFIED,
SYNCCHILDREN,
SYNCDATA,
TREE_POSITION_ANCESTOR,
TREE_POSITION_DESCENDANT,
TREE_POSITION_DISCONNECTED,
TREE_POSITION_EQUIVALENT,
TREE_POSITION_FOLLOWING,
TREE_POSITION_PRECEDING,
TREE_POSITION_SAME_NODE,
UNNORMALIZED |
Constructor Summary | |
|
ChildNode()
Constructor for serialization. |
protected |
ChildNode(CoreDocumentImpl ownerDocument)
No public constructor; only subclasses of Node should be instantiated, and those normally via a Document's factory methods |
Method Summary | |
org.w3c.dom.Node |
cloneNode(boolean deep)
Returns a duplicate of a given node. |
org.w3c.dom.Node |
getNextSibling()
The next child of this node's parent, or null if none |
org.w3c.dom.Node |
getParentNode()
Returns the parent node of this node |
org.w3c.dom.Node |
getPreviousSibling()
The previous child of this node's parent, or null if none |
Methods inherited from class weblogic.apache.xerces.dom.NodeImpl |
addEventListener,
appendChild,
changed,
changes,
compareTreePosition,
dispatchEvent,
getAttributes,
getBaseURI,
getChildNodes,
getFirstChild,
getInterface,
getLastChild,
getLength,
getLocalName,
getNamespaceURI,
getNodeName,
getNodeType,
getNodeValue,
getOwnerDocument,
getPrefix,
getReadOnly,
getTextContent,
getUserData,
getUserData,
hasAttributes,
hasChildNodes,
insertBefore,
isDefaultNamespace,
isEqualNode,
isSameNode,
isSupported,
item,
lookupNamespacePrefix,
lookupNamespaceURI,
needsSyncChildren,
normalize,
removeChild,
removeEventListener,
replaceChild,
setNodeValue,
setPrefix,
setReadOnly,
setTextContent,
setUserData,
setUserData,
synchronizeData,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected ChildNode previousSibling
protected ChildNode nextSibling
Constructor Detail |
protected ChildNode(CoreDocumentImpl ownerDocument)
Every Node knows what Document it belongs to.
public ChildNode()
Method Detail |
public org.w3c.dom.Node cloneNode(boolean deep)
Note: since we never have any children deep is meaningless here, ParentNode overrides this behavior.
Example: Cloning a Text node will copy both the node and the text it contains.
Example: Cloning something that has children -- Element or Attr, for example -- will _not_ clone those children unless a "deep clone" has been requested. A shallow clone of an Attr node will yield an empty Attr of the same name.
NOTE: Clones will always be read/write, even if the node being cloned is read-only, to permit applications using only the DOM API to obtain editable copies of locked portions of the tree.
public org.w3c.dom.Node getParentNode()
public org.w3c.dom.Node getNextSibling()
public org.w3c.dom.Node getPreviousSibling()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |