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

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
      extended by com.sun.tools.xjc.reader.xmlschema.bindinfo.BISchemaBinding
All Implemented Interfaces:
BIDeclaration

public final class BISchemaBinding
extends AbstractDeclarationImpl

Schema-wide binding customization.


Nested Class Summary
static class BISchemaBinding.NamingRule
          Default naming rules of the generated interfaces.
 
Field Summary
 boolean map
          If false, it means not to generate any classes from this namespace.
static QName NAME
           
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
loc, parent
 
Constructor Summary
BISchemaBinding()
           
 
Method Summary
 String getJavadoc()
           
 QName getName()
          Gets the name of this binding declaration, which is the same as the tag name of the binding element.
 String getPackageName()
           
 String mangleAnonymousTypeClassName(String name)
           
 String mangleClassName(String name, XSComponent cmp)
          Transforms the default name produced from XML name by following the customization.
 
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
getBuilder, getChildren, getCodeModel, getLocation, getOwner, isAcknowledged, markAsAcknowledged, onSetOwner, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

BISchemaBinding

public BISchemaBinding()
Method Detail

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.