Save This Page
Home » dom4j-1.6.1 » org.dom4j.bean » [javadoc | source]
org.dom4j.bean
public class: BeanElement [javadoc | source]
java.lang.Object
   org.dom4j.tree.AbstractNode
      org.dom4j.tree.AbstractBranch
         org.dom4j.tree.AbstractElement
            org.dom4j.tree.DefaultElement
               org.dom4j.bean.BeanElement

All Implemented Interfaces:
    Element, Branch, Cloneable, Node, Serializable

BeanElement uses a Java Bean to store its attributes.

Fields inherited from org.dom4j.tree.AbstractElement:
EMPTY_LIST,  EMPTY_ITERATOR,  VERBOSE_TOSTRING,  USE_STRINGVALUE_SEPARATOR
Fields inherited from org.dom4j.tree.AbstractBranch:
DEFAULT_CONTENT_LIST_SIZE
Fields inherited from org.dom4j.tree.AbstractNode:
NODE_TYPE_NAMES
Constructor:
 public BeanElement(QName qname) 
 public BeanElement(String name,
    Object bean) 
 public BeanElement(QName qname,
    Object bean) 
 public BeanElement(String name,
    Namespace namespace,
    Object bean) 
Method from org.dom4j.bean.BeanElement Summary:
addAttribute,   addAttribute,   attribute,   attribute,   createAttributeList,   createAttributeList,   getBeanAttributeList,   getData,   getDocumentFactory,   setAttributes,   setAttributes,   setData
Methods from org.dom4j.tree.DefaultElement:
add,   addNewNode,   additionalNamespaces,   additionalNamespaces,   attribute,   attribute,   attribute,   attribute,   attributeCount,   attributeIterator,   attributeList,   attributeList,   attributes,   clearContent,   clone,   contentList,   declaredNamespaces,   element,   element,   element,   getDocument,   getDocumentFactory,   getNamespaceForPrefix,   getNamespaceForURI,   getParent,   getQName,   getStringValue,   getText,   indexOf,   node,   nodeCount,   nodeIterator,   processingInstruction,   processingInstructions,   processingInstructions,   remove,   removeNode,   removeProcessingInstruction,   setAttributeList,   setAttributes,   setContent,   setDocument,   setParent,   setQName,   supportsParent
Methods from org.dom4j.tree.AbstractElement:
accept,   add,   add,   add,   add,   add,   add,   add,   add,   add,   addAttribute,   addAttribute,   addCDATA,   addComment,   addElement,   addEntity,   addNamespace,   addNewNode,   addNewNode,   addNode,   addNode,   addProcessingInstruction,   addProcessingInstruction,   addText,   additionalNamespaces,   additionalNamespaces,   appendAttributes,   asXML,   attribute,   attribute,   attribute,   attribute,   attributeCount,   attributeIterator,   attributeList,   attributeList,   attributeValue,   attributeValue,   attributeValue,   attributeValue,   attributes,   childAdded,   childRemoved,   createAttributeList,   createAttributeList,   createCopy,   createCopy,   createCopy,   createElement,   createElement,   createSingleIterator,   declaredNamespaces,   element,   element,   element,   elementIterator,   elementIterator,   elementIterator,   elementIterator,   elementText,   elementText,   elementTextTrim,   elementTextTrim,   elements,   elements,   elements,   elements,   ensureAttributesCapacity,   getData,   getDocumentFactory,   getName,   getNamespace,   getNamespaceForPrefix,   getNamespaceForURI,   getNamespacePrefix,   getNamespaceURI,   getNamespacesForURI,   getNodeType,   getPath,   getQName,   getQualifiedName,   getStringValue,   getUniquePath,   getXPathNameStep,   getXPathResult,   hasMixedContent,   indexOf,   isRootElement,   isTextOnly,   node,   nodeCount,   nodeIterator,   normalize,   processingInstruction,   processingInstructions,   processingInstructions,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   removeNode,   removeProcessingInstruction,   setAttributeValue,   setAttributeValue,   setAttributes,   setData,   setName,   setNamespace,   setText,   toString,   write
Methods from org.dom4j.tree.AbstractBranch:
add,   add,   add,   add,   addElement,   addElement,   addElement,   addElement,   addNode,   addNode,   appendContent,   childAdded,   childRemoved,   content,   contentList,   contentRemoved,   createContentList,   createContentList,   createEmptyList,   createResultList,   createSingleResultList,   elementByID,   elementID,   getContentAsStringValue,   getContentAsText,   getText,   getTextTrim,   hasContent,   indexOf,   invalidNodeTypeAddException,   isReadOnly,   node,   nodeCount,   nodeIterator,   remove,   remove,   remove,   remove,   removeNode,   setProcessingInstructions
Methods from org.dom4j.tree.AbstractNode:
asXPathResult,   clone,   createPattern,   createXPath,   createXPathFilter,   createXPathResult,   detach,   getDocument,   getDocumentFactory,   getName,   getNodeType,   getNodeTypeName,   getParent,   getPath,   getStringValue,   getText,   getUniquePath,   hasContent,   isReadOnly,   matches,   numberValueOf,   selectNodes,   selectNodes,   selectNodes,   selectObject,   selectSingleNode,   setDocument,   setName,   setParent,   setText,   supportsParent,   valueOf,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.bean.BeanElement Detail:
 public Element addAttribute(String name,
    String value) 
 public Element addAttribute(QName qName,
    String value) 
 public Attribute attribute(String name) 
 public Attribute attribute(QName qname) 
 protected List createAttributeList() 
    A Factory Method pattern which lazily creates a List implementation used to store content
 protected List createAttributeList(int size) 
 protected BeanAttributeList getBeanAttributeList() 
 public Object getData() 
    DOCUMENT ME!
 protected DocumentFactory getDocumentFactory() 
 public  void setAttributes(List attributes) 
 public  void setAttributes(Attributes attributes,
    NamespaceStack namespaceStack,
    boolean noNamespaceAttributes) 
 public  void setData(Object data)