com.teamkonzept.dom4jb.schema
Class ElementDescriptor

java.lang.Object
  |
  +--com.teamkonzept.dom4jb.beans.Property
        |
        +--com.teamkonzept.dom4jb.beans.ComplexProperty
              |
              +--com.teamkonzept.dom4jb.schema.ElementDescriptor
All Implemented Interfaces:
Groupable

public class ElementDescriptor
extends ComplexProperty


Field Summary
protected  NodeName name
           
protected  XMLBeanInfo type
           
 
Fields inherited from class com.teamkonzept.dom4jb.beans.Property
IDENTITY, property
 
Constructor Summary
ElementDescriptor(NodeName name, PropertyDescriptor property)
          Creates new ElementDescriptor
ElementDescriptor(NodeName name, PropertyDescriptor property, XMLBeanInfo type)
          Creates new ElementDescriptor
ElementDescriptor(PropertyDescriptor property)
          Creates new ElementDescriptor
ElementDescriptor(String name, Class beanClass)
          Creates new ElementDescriptor
ElementDescriptor(String name, Class beanClass, XMLBeanInfo type)
          Creates new ElementDescriptor
ElementDescriptor(String name, PropertyDescriptor property)
          Creates new ElementDescriptor
ElementDescriptor(String name, PropertyDescriptor property, XMLBeanInfo type)
          Creates new ElementDescriptor
ElementDescriptor(String elementName, String propertyName, Class beanClass)
          Creates new ElementDescriptor
 
Method Summary
protected  GroupDescriptor getAttributeDescriptors(Object obj)
           
 ContentIterator getAttributeIterator(Document document, Object bean)
           
 ContentIterator getChildNodeIterator(Document document, Object bean)
           
 Node getContent(Document document, Object bean)
           
protected  GroupDescriptor getContentDescriptors(Object obj)
           
 NodeName getName()
           
 String toString()
           
 
Methods inherited from class com.teamkonzept.dom4jb.beans.Property
addTo, findMethod, getContentIterator, getObject, getProperty, setPropertyDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final NodeName name

type

protected final XMLBeanInfo type
Constructor Detail

ElementDescriptor

public ElementDescriptor(NodeName name,
                         PropertyDescriptor property,
                         XMLBeanInfo type)
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(NodeName name,
                         PropertyDescriptor property)
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(String name,
                         PropertyDescriptor property)
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(String name,
                         PropertyDescriptor property,
                         XMLBeanInfo type)
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(String name,
                         Class beanClass)
                  throws IntrospectionException
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(String elementName,
                         String propertyName,
                         Class beanClass)
                  throws IntrospectionException
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(PropertyDescriptor property)
Creates new ElementDescriptor


ElementDescriptor

public ElementDescriptor(String name,
                         Class beanClass,
                         XMLBeanInfo type)
                  throws IntrospectionException
Creates new ElementDescriptor

Method Detail

getContentDescriptors

protected final GroupDescriptor getContentDescriptors(Object obj)

getAttributeDescriptors

protected final GroupDescriptor getAttributeDescriptors(Object obj)

getContent

public Node getContent(Document document,
                       Object bean)

getName

public NodeName getName()

getChildNodeIterator

public ContentIterator getChildNodeIterator(Document document,
                                            Object bean)

getAttributeIterator

public ContentIterator getAttributeIterator(Document document,
                                            Object bean)

toString

public String toString()
Overrides:
toString in class Property
See Also:
Object.toString()


Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.