com.sun.tools.xjc.reader.xmlschema.bindinfo
Class BISchemaBinding
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
com.sun.tools.xjc.reader.xmlschema.bindinfo.BISchemaBinding
- All Implemented Interfaces:
- BIDeclaration
public final class BISchemaBinding
- extends AbstractDeclarationImpl
Schema-wide binding customization.
Field Summary |
static javax.xml.namespace.QName |
NAME
|
Method Summary |
java.lang.String |
getJavadoc()
|
javax.xml.namespace.QName |
getName()
Gets the name of this binding declaration,
which is the same as the tag name of the binding element. |
java.lang.String |
getPackageName()
|
java.lang.String |
mangleAnonymousTypeClassName(java.lang.String name)
|
java.lang.String |
mangleClassName(java.lang.String name,
com.sun.xml.xsom.XSComponent cmp)
Transforms the default name produced from XML name
by following the customization. |
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
BISchemaBinding
public BISchemaBinding()
mangleClassName
public java.lang.String mangleClassName(java.lang.String name,
com.sun.xml.xsom.XSComponent cmp)
- Transforms the default name produced from XML name
by following the customization.
This shouldn't be applied to a class name specified
by a customization.
- Parameters:
cmp
- The schema component from which the default name is derived.
mangleAnonymousTypeClassName
public java.lang.String mangleAnonymousTypeClassName(java.lang.String name)
getPackageName
public java.lang.String getPackageName()
getJavadoc
public java.lang.String getJavadoc()
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.