com.sun.tools.xjc.reader.xmlschema.bindinfo
Class BIConversion.User
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion
com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion.User
- All Implemented Interfaces:
- BIDeclaration
- Direct Known Subclasses:
- BIGlobalBinding.GlobalStandardConversion
- Enclosing class:
- BIConversion
public static class BIConversion.User
- extends BIConversion
User-specified <javaType> customization.
The parse/print methods are allowed to be null,
and their default values are determined based on the
owner of the token.
|
Field Summary |
static javax.xml.namespace.QName |
NAME
Name of the conversion declaration. |
|
Constructor Summary |
BIConversion.User()
|
BIConversion.User(org.xml.sax.Locator loc,
java.lang.String parseMethod,
java.lang.String printMethod,
com.sun.codemodel.JType inMemoryType)
|
|
Method Summary |
javax.xml.namespace.QName |
getName()
Gets the name of this binding declaration,
which is the same as the tag name of the binding element. |
TypeUse |
getTypeUse(com.sun.xml.xsom.XSSimpleType owner)
Gets the TypeUse object that this conversion represents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final javax.xml.namespace.QName NAME
- Name of the conversion declaration.
BIConversion.User
public BIConversion.User(org.xml.sax.Locator loc,
java.lang.String parseMethod,
java.lang.String printMethod,
com.sun.codemodel.JType inMemoryType)
BIConversion.User
public BIConversion.User()
getTypeUse
public TypeUse getTypeUse(com.sun.xml.xsom.XSSimpleType owner)
- Description copied from class:
BIConversion
- Gets the
TypeUse object that this conversion represents.
The returned TypeUse object is properly adapted.
- Specified by:
getTypeUse in class BIConversion
- 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.
getName
public javax.xml.namespace.QName getName()
- Description copied from interface:
BIDeclaration
- Gets the name of this binding declaration,
which is the same as the tag name of the binding element.
- Specified by:
getName in interface BIDeclaration- Overrides:
getName in class BIConversion