public class

AttributeDescriptor

extends NodeDescriptor
java.lang.Object
   ↳ org.apache.commons.betwixt.Descriptor
     ↳ org.apache.commons.betwixt.NodeDescriptor
       ↳ org.apache.commons.betwixt.AttributeDescriptor

Class Overview

AttributeDescriptor describes the XML attributes to be created for a bean instance.

Summary

Public Constructors
AttributeDescriptor()
Base constructor
AttributeDescriptor(String localName)
Creates a AttributeDescriptor with no namespace URI or prefix
AttributeDescriptor(String localName, String qualifiedName, String uri)
Creates a AttributeDescriptor with namespace URI and qualified name
Public Methods
String toString()
Return something useful for logging
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.NodeDescriptor
From class org.apache.commons.betwixt.Descriptor
From class java.lang.Object

Public Constructors

public AttributeDescriptor ()

Base constructor

public AttributeDescriptor (String localName)

Creates a AttributeDescriptor with no namespace URI or prefix

Parameters
localName the local name for the attribute, excluding any namespace prefix

public AttributeDescriptor (String localName, String qualifiedName, 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

Public Methods

public String toString ()

Return something useful for logging

Returns
  • something useful for logging