|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.reader.xmlschema.BindingComponent
com.sun.tools.xjc.reader.xmlschema.BGMBuilder
public class BGMBuilder
Root of the XML Schema binder.
Field Summary | |
---|---|
java.lang.String |
defaultPackage1
If this is non-null, this package name takes over all the schema customizations. |
java.lang.String |
defaultPackage2
If this is non-null, this package name will be used when no customization is specified. |
boolean |
inExtensionMode
True if the compiler is running in the extension mode (as opposed to the strict conformance mode.) |
Model |
model
|
Constructor Summary | |
---|---|
protected |
BGMBuilder(java.lang.String defaultPackage1,
java.lang.String defaultPackage2,
boolean _inExtensionMode)
|
Method Summary | |
---|---|
static Model |
build(com.sun.xml.xsom.XSSchemaSet _schemas,
com.sun.codemodel.JCodeModel codeModel,
ErrorReceiver _errorReceiver,
Options opts)
Entry point. |
BindInfo |
getBindInfo(com.sun.xml.xsom.XSComponent schemaComponent)
Gets the BindInfo object associated to a schema component. |
BIGlobalBinding |
getGlobalBinding()
Gets the global bindings. |
javax.xml.transform.Transformer |
getIdentityTransformer()
Gets the shared instance of the identity transformer. |
protected BIDom |
getLocalDomCustomization(com.sun.xml.xsom.XSParticle p)
Gets the BIDom object that applies to the given particle. |
com.sun.xml.bind.api.impl.NameConverter |
getNameConverter()
Name converter that implements "XML->Java name conversion" as specified in the spec. |
BindInfo |
getOrCreateBindInfo(com.sun.xml.xsom.XSComponent schemaComponent)
Gets or creates the BindInfo object associated to a schema component. |
void |
ying(com.sun.xml.xsom.XSComponent sc)
If the component maps to a property, forwards to purple, otherwise to green. |
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.BindingComponent |
---|
getClassSelector, getErrorReporter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final boolean inExtensionMode
public final java.lang.String defaultPackage1
public final java.lang.String defaultPackage2
public final Model model
Constructor Detail |
---|
protected BGMBuilder(java.lang.String defaultPackage1, java.lang.String defaultPackage2, boolean _inExtensionMode)
Method Detail |
---|
public static Model build(com.sun.xml.xsom.XSSchemaSet _schemas, com.sun.codemodel.JCodeModel codeModel, ErrorReceiver _errorReceiver, Options opts)
public BIGlobalBinding getGlobalBinding()
public com.sun.xml.bind.api.impl.NameConverter getNameConverter()
This object should be used to perform any name conversion needs, instead of the JJavaName class in CodeModel.
public BindInfo getOrCreateBindInfo(com.sun.xml.xsom.XSComponent schemaComponent)
public BindInfo getBindInfo(com.sun.xml.xsom.XSComponent schemaComponent)
BindInfo
object. If none
is specified for the given component, a dummy empty BindInfo
will be returned.protected final BIDom getLocalDomCustomization(com.sun.xml.xsom.XSParticle p)
BIDom
object that applies to the given particle.
public void ying(com.sun.xml.xsom.XSComponent sc)
public javax.xml.transform.Transformer getIdentityTransformer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |