org.apache.commons.betwixt
Class AttributeDescriptor
java.lang.Object
org.apache.commons.betwixt.Descriptor
org.apache.commons.betwixt.NodeDescriptor
org.apache.commons.betwixt.AttributeDescriptor
- public class AttributeDescriptor
- extends NodeDescriptor
AttributeDescriptor
describes the XML attributes
to be created for a bean instance.
- Version:
- $Revision: 438373 $
- Author:
- James Strachan
Fields inherited from class org.apache.commons.betwixt.Descriptor |
|
Constructor Summary |
AttributeDescriptor()
Base constructor |
AttributeDescriptor(java.lang.String localName)
Creates a AttributeDescriptor with no namespace URI or prefix |
AttributeDescriptor(java.lang.String localName,
java.lang.String qualifiedName,
java.lang.String uri)
Creates a AttributeDescriptor with namespace URI and qualified name |
Method Summary |
java.lang.String |
toString()
Return something useful for logging |
Methods inherited from class org.apache.commons.betwixt.Descriptor |
getOptions, getPropertyName, getPropertyType, getSingularPropertyType, getTextExpression, getUpdater, setOptions, setPropertyName, setPropertyType, setSingularPropertyType, setTextExpression, setUpdater |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeDescriptor
public AttributeDescriptor()
- Base constructor
AttributeDescriptor
public AttributeDescriptor(java.lang.String localName)
- Creates a AttributeDescriptor with no namespace URI or prefix
- Parameters:
localName
- the local name for the attribute, excluding any namespace prefix
AttributeDescriptor
public AttributeDescriptor(java.lang.String localName,
java.lang.String qualifiedName,
java.lang.String uri)
- Creates a AttributeDescriptor with namespace URI and qualified name
- Parameters:
localName
- the local name for the attribute, excluding any namespace prefixqualifiedName
- the fully quanified name, including the namespace prefixuri
- the namespace for the attribute - or "" for no namespace
toString
public java.lang.String toString()
- Return something useful for logging
- Returns:
- something useful for logging