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 |
boolean |
map
If false, it means not to generate any classes from this namespace. |
static QName |
NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
public boolean map
- If false, it means not to generate any classes from this namespace.
No ObjectFactory, no classes (the only way to bind them is by using
<jaxb:class ref="..."/>)
NAME
public static final QName NAME
BISchemaBinding
public BISchemaBinding()
mangleClassName
public String mangleClassName(String name,
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 String mangleAnonymousTypeClassName(String name)
getPackageName
public String getPackageName()
getJavadoc
public String getJavadoc()
getName
public 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.