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

Class 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
BIConversiongetConversion()
Gets the conversion method for this attribute, if any.
StringgetPropertyName()
Gets the property name for this attribute.
FieldRenderergetRealization()
Gets the realization of this particle, if any.
Stringname()
Gets the name of this attribute-property declaration.

Constructor Detail

BIAttribute

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

Should be created only from BIElement.

Method Detail

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.

getPropertyName

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

Returns: always a non-null, valid string.

getRealization

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

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

name

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