net.beandocument
Class BeanSimpleTypeElement

java.lang.Object
  extended bynet.beandocument.BeanBaseNode
      extended bynet.beandocument.BeanElement
          extended bynet.beandocument.BeanSimpleTypeElement
All Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.Node

public class BeanSimpleTypeElement
extends BeanElement

Element implementation for a simple type. Simple types are:

Author:
Jens Scheffler

Field Summary
 
Fields inherited from class net.beandocument.BeanBaseNode
owner, parent
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
BeanSimpleTypeElement(BeanDocument owner, BeanBaseNode parent, java.lang.String tagName, java.lang.Object bean)
          Constructor for a new simple type bean element
 
Method Summary
 org.w3c.dom.NodeList getChildNodes()
          Retrieves the child nodes of this element.
 
Methods inherited from class net.beandocument.BeanElement
addBeanSpecificAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLocalName, getNodeName, getNodeType, getNodeValue, getTagName, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setNodeValue
 
Methods inherited from class net.beandocument.BeanBaseNode
appendChild, cloneNode, getElementFactory, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, insertBefore, isSupported, normalize, removeChild, replaceChild, setNextSibling, setPrefix, setPreviousSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix
 

Constructor Detail

BeanSimpleTypeElement

public BeanSimpleTypeElement(BeanDocument owner,
                             BeanBaseNode parent,
                             java.lang.String tagName,
                             java.lang.Object bean)
Constructor for a new simple type bean element

Parameters:
owner - Owner document of the element
parent - parent node of this element
tagName - Name for the tag of this element
bean - bean which keeps the value of the tag
Method Detail

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Retrieves the child nodes of this element. The simple bean implementation will wrap the content into a text node and return this as single child

Returns:
List of child node
See Also:
Node.getChildNodes()