Save This Page
Home » dom4j-1.6.1 » org.dom4j.dom » [javadoc | source]
org.dom4j.dom
public class: DOMNodeHelper [javadoc | source]
java.lang.Object
   org.dom4j.dom.DOMNodeHelper

DOMNodeHelper contains a collection of utility methods for use across Node implementations.

Nested Class Summary:
public static class  DOMNodeHelper.EmptyNodeList   
Field Summary
public static final  NodeList EMPTY_NODE_LIST     
Constructor:
 protected DOMNodeHelper() 
Method from org.dom4j.dom.DOMNodeHelper Summary:
appendChild,   appendData,   appendElementsByTagName,   appendElementsByTagNameNS,   asDOMAttr,   asDOMDocument,   asDOMDocumentType,   asDOMElement,   asDOMNode,   asDOMText,   cloneNode,   createNodeList,   deleteData,   getAttributes,   getChildNodes,   getData,   getFirstChild,   getLastChild,   getLength,   getLocalName,   getNamespaceURI,   getNextSibling,   getNodeValue,   getOwnerDocument,   getParentNode,   getPrefix,   getPreviousSibling,   hasAttributes,   hasChildNodes,   insertBefore,   insertData,   isSupported,   normalize,   notSupported,   removeChild,   replaceChild,   replaceData,   setData,   setNodeValue,   setPrefix,   substringData,   supports
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.dom.DOMNodeHelper Detail:
 public static Node appendChild(Node node,
    Node newChild) throws DOMException 
 public static  void appendData(CharacterData charData,
    String arg) throws DOMException 
 public static  void appendElementsByTagName(List list,
    Branch parent,
    String name) 
 public static  void appendElementsByTagNameNS(List list,
    Branch parent,
    String namespace,
    String localName) 
 public static Attr asDOMAttr(Node attribute) 
 public static Document asDOMDocument(Document document) 
 public static DocumentType asDOMDocumentType(DocumentType dt) 
 public static Element asDOMElement(Node element) 
 public static Node asDOMNode(Node node) 
 public static Text asDOMText(CharacterData text) 
 public static Node cloneNode(Node node,
    boolean deep) 
 public static NodeList createNodeList(List list) 
 public static  void deleteData(CharacterData charData,
    int offset,
    int count) throws DOMException 
 public static NamedNodeMap getAttributes(Node node) 
 public static NodeList getChildNodes(Node node) 
 public static String getData(CharacterData charData) throws DOMException 
 public static Node getFirstChild(Node node) 
 public static Node getLastChild(Node node) 
 public static int getLength(CharacterData charData) 
 public static String getLocalName(Node node) 
 public static String getNamespaceURI(Node node) 
 public static Node getNextSibling(Node node) 
 public static String getNodeValue(Node node) throws DOMException 
 public static Document getOwnerDocument(Node node) 
 public static Node getParentNode(Node node) 
 public static String getPrefix(Node node) 
 public static Node getPreviousSibling(Node node) 
 public static boolean hasAttributes(Node node) 
 public static boolean hasChildNodes(Node node) 
 public static Node insertBefore(Node node,
    Node newChild,
    Node refChild) throws DOMException 
 public static  void insertData(CharacterData data,
    int offset,
    String arg) throws DOMException 
 public static boolean isSupported(Node n,
    String feature,
    String version) 
 public static  void normalize(Node node) 
 public static  void notSupported() 
    Called when a method has not been implemented yet
 public static Node removeChild(Node node,
    Node oldChild) throws DOMException 
 public static Node replaceChild(Node node,
    Node newChild,
    Node oldChild) throws DOMException 
 public static  void replaceData(CharacterData charData,
    int offset,
    int count,
    String arg) throws DOMException 
 public static  void setData(CharacterData charData,
    String data) throws DOMException 
 public static  void setNodeValue(Node node,
    String nodeValue) throws DOMException 
 public static  void setPrefix(Node node,
    String prefix) throws DOMException 
 public static String substringData(CharacterData charData,
    int offset,
    int count) throws DOMException 
 public static boolean supports(Node node,
    String feature,
    String version)