Save This Page
Home » Xerces-J-src.2.9.1 » org.apache.xerces » dom » [javadoc | source]
org.apache.xerces.dom
abstract public class: ChildNode [javadoc | source]
java.lang.Object
   org.apache.xerces.dom.NodeImpl
      org.apache.xerces.dom.ChildNode

All Implemented Interfaces:
    Cloneable, Node, EventTarget, Serializable, NodeList

Direct Known Subclasses:
    WMLRefreshElementImpl, WMLTemplateElementImpl, DocumentTypeImpl, WMLMetaElementImpl, WMLTdElementImpl, HTMLOListElementImpl, WMLSetvarElementImpl, DeferredElementDefinitionImpl, WMLDocumentImpl, PSVIDocumentImpl, HTMLLinkElementImpl, HTMLAreaElementImpl, ChildAndParentNode, ElementImpl, HTMLPreElementImpl, HTMLMapElementImpl, HTMLFormElementImpl, HTMLTableSectionElementImpl, WMLEmElementImpl, WMLOneventElementImpl, HTMLLegendElementImpl, HTMLFontElementImpl, WMLCardElementImpl, HTMLDivElementImpl, HTMLAppletElementImpl, WMLSmallElementImpl, DocumentFragmentImpl, WMLBigElementImpl, DeferredDocumentImpl, HTMLQuoteElementImpl, WMLHeadElementImpl, TextImpl, WMLStrongElementImpl, HTMLImageElementImpl, DeferredTextImpl, WMLAccessElementImpl, HTMLHRElementImpl, HTMLAnchorElementImpl, HTMLLabelElementImpl, CoreDocumentImpl, HTMLSelectElementImpl, WMLAnchorElementImpl, WMLPElementImpl, WMLUElementImpl, WMLSelectElementImpl, WMLOptgroupElementImpl, EntityImpl, HTMLParamElementImpl, DocumentImpl, WMLOptionElementImpl, WMLTrElementImpl, HTMLObjectElementImpl, CDATASectionImpl, ProcessingInstructionImpl, HTMLIFrameElementImpl, DeferredCommentImpl, HTMLStyleElementImpl, HTMLDListElementImpl, ParentNode, DeferredEntityReferenceImpl, HTMLDocumentImpl, ElementDefinitionImpl, HTMLDirectoryElementImpl, WMLTableElementImpl, CharacterDataImpl, WMLWmlElementImpl, DeferredElementImpl, HTMLScriptElementImpl, HTMLTableRowElementImpl, WMLTimerElementImpl, WMLDoElementImpl, HTMLMenuElementImpl, WMLImgElementImpl, DeferredDocumentTypeImpl, DeferredElementNSImpl, HTMLTableCellElementImpl, HTMLLIElementImpl, WMLBElementImpl, DeferredEntityImpl, HTMLIsIndexElementImpl, HTMLBRElementImpl, HTMLFieldSetElementImpl, HTMLMetaElementImpl, DeferredCDATASectionImpl, HTMLModElementImpl, WMLPostfieldElementImpl, WMLIElementImpl, HTMLHeadElementImpl, HTMLInputElementImpl, HTMLElementImpl, WMLInputElementImpl, EntityReferenceImpl, HTMLFrameElementImpl, WMLFieldsetElementImpl, PSVIElementNSImpl, CommentImpl, WMLNoopElementImpl, HTMLTextAreaElementImpl, HTMLHeadingElementImpl, HTMLBodyElementImpl, HTMLHtmlElementImpl, HTMLBaseElementImpl, HTMLTableColElementImpl, WMLElementImpl, HTMLOptGroupElementImpl, HTMLParagraphElementImpl, HTMLFrameSetElementImpl, DeferredProcessingInstructionImpl, WMLAElementImpl, HTMLBaseFontElementImpl, WMLPrevElementImpl, WMLGoElementImpl, HTMLUListElementImpl, WMLBrElementImpl, HTMLButtonElementImpl, HTMLTableCaptionElementImpl, ElementNSImpl, HTMLTableElementImpl, HTMLOptionElementImpl, HTMLTitleElementImpl

ChildNode inherits from NodeImpl and adds the capability of being a child by having references to its previous and next siblings.
Field Summary
static final  long serialVersionUID    Serialization version. 
protected  ChildNode previousSibling    Previous sibling. 
protected  ChildNode nextSibling    Next sibling. 
Fields inherited from org.apache.xerces.dom.NodeImpl:
TREE_POSITION_PRECEDING,  TREE_POSITION_FOLLOWING,  TREE_POSITION_ANCESTOR,  TREE_POSITION_DESCENDANT,  TREE_POSITION_EQUIVALENT,  TREE_POSITION_SAME_NODE,  TREE_POSITION_DISCONNECTED,  DOCUMENT_POSITION_DISCONNECTED,  DOCUMENT_POSITION_PRECEDING,  DOCUMENT_POSITION_FOLLOWING,  DOCUMENT_POSITION_CONTAINS,  DOCUMENT_POSITION_IS_CONTAINED,  DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,  serialVersionUID,  ELEMENT_DEFINITION_NODE,  ownerNode,  flags,  READONLY,  SYNCDATA,  SYNCCHILDREN,  OWNED,  FIRSTCHILD,  SPECIFIED,  IGNORABLEWS,  HASSTRING,  NORMALIZED,  ID
Constructor:
 public ChildNode() 
 protected ChildNode(CoreDocumentImpl ownerDocument) 
    No public constructor; only subclasses of Node should be instantiated, and those normally via a Document's factory methods

    Every Node knows what Document it belongs to.

Method from org.apache.xerces.dom.ChildNode Summary:
cloneNode,   getNextSibling,   getParentNode,   getPreviousSibling,   parentNode,   previousSibling
Methods from org.apache.xerces.dom.NodeImpl:
addEventListener,   appendChild,   changed,   changes,   cloneNode,   compareDocumentPosition,   compareTreePosition,   dispatchEvent,   getAttributes,   getBaseURI,   getChildNodes,   getContainer,   getElementAncestor,   getFeature,   getFirstChild,   getLastChild,   getLength,   getLocalName,   getNamespaceURI,   getNextSibling,   getNodeName,   getNodeNumber,   getNodeType,   getNodeValue,   getOwnerDocument,   getParentNode,   getPrefix,   getPreviousSibling,   getReadOnly,   getTextContent,   getTextContent,   getUserData,   getUserData,   getUserDataRecord,   hasAttributes,   hasChildNodes,   hasStringValue,   hasStringValue,   insertBefore,   internalIsIgnorableWhitespace,   isDefaultNamespace,   isEqualNode,   isFirstChild,   isFirstChild,   isIdAttribute,   isIdAttribute,   isIgnorableWhitespace,   isNormalized,   isNormalized,   isOwned,   isOwned,   isReadOnly,   isReadOnly,   isSameNode,   isSpecified,   isSpecified,   isSupported,   item,   lookupNamespacePrefix,   lookupNamespaceURI,   lookupPrefix,   needsSyncChildren,   needsSyncChildren,   needsSyncData,   needsSyncData,   normalize,   ownerDocument,   parentNode,   previousSibling,   removeChild,   removeEventListener,   replaceChild,   setNodeValue,   setOwnerDocument,   setPrefix,   setReadOnly,   setTextContent,   setUserData,   setUserData,   synchronizeData,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.dom.ChildNode Detail:
 public Node cloneNode(boolean deep) 
    Returns a duplicate of a given node. You can consider this a generic "copy constructor" for nodes. The newly returned object should be completely independent of the source object's subtree, so changes in one after the clone has been made will not affect the other.

    Note: since we never have any children deep is meaningless here, ParentNode overrides this behavior.

 public Node getNextSibling() 
    The next child of this node's parent, or null if none
 public Node getParentNode() 
    Returns the parent node of this node
 public Node getPreviousSibling() 
    The previous child of this node's parent, or null if none
 final NodeImpl parentNode() 
 final ChildNode previousSibling()