com.sun.tools.xjc.reader.xmlschema.bindinfo

Class BIConversion

public abstract class BIConversion extends AbstractDeclarationImpl

Conversion declaration.

A conversion declaration specifies how an XML type gets mapped to a Java type.

Nested Class Summary
static classBIConversion.Static
Implementation that returns a statically-determined constant TypeUse.
static classBIConversion.User
User-specified <javaType> customization.
static classBIConversion.UserAdapter
Field Summary
static QNameNAME
Name of the conversion declaration.
Constructor Summary
BIConversion(Locator loc)
protected BIConversion()
Method Summary
QNamegetName()
abstract TypeUsegetTypeUse(XSSimpleType owner)
Gets the TypeUse object that this conversion represents.

Field Detail

NAME

public static final QName NAME
Name of the conversion declaration.

Constructor Detail

BIConversion

BIConversion(Locator loc)

BIConversion

protected BIConversion()

Method Detail

getName

public QName getName()

getTypeUse

public abstract TypeUse getTypeUse(XSSimpleType owner)
Gets the TypeUse object that this conversion represents.

The returned TypeUse object is properly adapted.

Parameters: owner A BIConversion is always associated with one XSSimpleType, but that's not always available when a BIConversion is built. So we pass this as a parameter to this method.