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
static javax.xml.namespace.QName NAME
           
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
loc, parent
 
Constructor Summary
BISchemaBinding()
           
 
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 com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
_assert, getBuilder, 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

NAME

public static final javax.xml.namespace.QName NAME
Constructor Detail

BISchemaBinding

public BISchemaBinding()
Method Detail

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.