com.teamkonzept.dom4jb.schema
Class AttributeDescriptor

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

public class AttributeDescriptor
extends SimpleProperty


Field Summary
protected  NodeName name
           
 
Fields inherited from class com.teamkonzept.dom4jb.beans.Property
IDENTITY, property
 
Constructor Summary
  AttributeDescriptor(NodeName name, PropertyDescriptor property)
           
  AttributeDescriptor(PropertyDescriptor property)
           
  AttributeDescriptor(String name, Class beanClass)
           
protected AttributeDescriptor(String name, PropertyDescriptor property)
           
  AttributeDescriptor(String attrName, String propertyName, Class beanClass)
           
 
Method Summary
 Node getContent(Document document, Object bean)
           
protected  DataDescriptor getDescriptor(Object obj)
          Liefert den Gruppendeskriptor, welcher die Property beschreibt.
 NodeName getName()
           
 String toString()
           
 
Methods inherited from class com.teamkonzept.dom4jb.beans.SimpleProperty
getValue
 
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
Constructor Detail

AttributeDescriptor

public AttributeDescriptor(NodeName name,
                           PropertyDescriptor property)

AttributeDescriptor

protected AttributeDescriptor(String name,
                              PropertyDescriptor property)

AttributeDescriptor

public AttributeDescriptor(PropertyDescriptor property)

AttributeDescriptor

public AttributeDescriptor(String name,
                           Class beanClass)
                    throws IntrospectionException

AttributeDescriptor

public AttributeDescriptor(String attrName,
                           String propertyName,
                           Class beanClass)
                    throws IntrospectionException
Method Detail

getDescriptor

protected final DataDescriptor getDescriptor(Object obj)
Description copied from class: SimpleProperty
Liefert den Gruppendeskriptor, welcher die Property beschreibt.

Overrides:
getDescriptor in class SimpleProperty

getName

public NodeName getName()

getContent

public Node getContent(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.