com.sun.tools.xjc.reader.dtd.bindinfo
Class BIAttribute

java.lang.Object
  extended by com.sun.tools.xjc.reader.dtd.bindinfo.BIAttribute

public class BIAttribute
extends Object

<attribute> declaration in the binding file.


Constructor Summary
BIAttribute(BIElement _parent, Element _e)
          Wraps a given <attribute> element.
 
Method Summary
 BIConversion getConversion()
          Gets the conversion method for this attribute, if any.
 String getPropertyName()
          Gets the property name for this attribute.
 FieldRenderer getRealization()
          Gets the realization of this particle, if any.
 String name()
          Gets the name of this attribute-property declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIAttribute

BIAttribute(BIElement _parent,
            Element _e)
Wraps a given <attribute> element.

Should be created only from BIElement.

Method Detail

name

public final String name()
Gets the name of this attribute-property declaration.


getConversion

public BIConversion getConversion()
Gets the conversion method for this attribute, if any.

Returns:
If the convert attribute is not specified, this method returns null.

getRealization

public final FieldRenderer getRealization()
Gets the realization of this particle, if any.

Returns:
null if the "collection" attribute was not specified.

getPropertyName

public final String getPropertyName()
Gets the property name for this attribute.

Returns:
always a non-null, valid string.