Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.dtd.bindinfo

public Class BIAttribute

extends Object
Class Inheritance
Imports
java.util.ArrayList, com.sun.tools.xjc.generator.bean.field.FieldRenderer, .FieldRendererFactory, org.w3c.dom.Attr, .Element

<attribute> declaration in the binding file.

Field Summary

Modifier and TypeField and Description
private final Element
private final BIElement

Constructor Summary

AccessConstructor and Description
pack-priv
BIAttribute(BIElement _parent, Element _e)

Wraps a given <attribute> element.

Method Summary

Modifier and TypeMethod and Description
public BIConversion

Returns:

If the convert attribute is not specified, this method returns null.
getConversion
()

Gets the conversion method for this attribute, if any.

public final String

Returns:

always a non-null, valid string.
getPropertyName
()

Gets the property name for this attribute.

public final FieldRenderer

Returns:

null if the "collection" attribute was not specified.
getRealization
()

Gets the realization of this particle, if any.

public final String
name()

Gets the name of this attribute-property declaration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

elementback to summary
private final Element element
parentback to summary
private final BIElement parent

Constructor Detail

BIAttributeback to summary
pack-priv BIAttribute(BIElement _parent, Element _e)

Wraps a given <attribute> element.

Should be created only from BIElement.

Method Detail

getConversionback to summary
public BIConversion getConversion()

Gets the conversion method for this attribute, if any.

Returns:BIConversion

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

getPropertyNameback to summary
public final String getPropertyName()

Gets the property name for this attribute.

Returns:String

always a non-null, valid string.

getRealizationback to summary
public final FieldRenderer getRealization()

Gets the realization of this particle, if any.

Returns:FieldRenderer

null if the "collection" attribute was not specified.

nameback to summary
public final String name()

Gets the name of this attribute-property declaration.