org.apache.commons.betwixt
Class AttributeDescriptor

java.lang.Object
  extended by org.apache.commons.betwixt.Descriptor
      extended by org.apache.commons.betwixt.NodeDescriptor
          extended by 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

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.NodeDescriptor
getLocalName, getQualifiedName, getURI, setLocalName, setQualifiedName, setURI
 
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
 

Constructor Detail

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 prefix
qualifiedName - the fully quanified name, including the namespace prefix
uri - the namespace for the attribute - or "" for no namespace
Method Detail

toString

public java.lang.String toString()
Return something useful for logging

Overrides:
toString in class java.lang.Object
Returns:
something useful for logging


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.