| java.lang.Object com.sun.tools.xjc.reader.xmlschema.BindingComponent com.sun.tools.xjc.reader.xmlschema.BGMBuilder
BGMBuilder | public class BGMBuilder extends BindingComponent (Code) | | Root of the XML Schema binder.
author: Kohsuke Kawaguchi |
defaultPackage1 | final public String defaultPackage1(Code) | | If this is non-null, this package name takes over
all the schema customizations.
|
defaultPackage2 | final public String defaultPackage2(Code) | | If this is non-null, this package name will be
used when no customization is specified.
|
inExtensionMode | final public boolean inExtensionMode(Code) | | True if the compiler is running in the extension mode
(as opposed to the strict conformance mode.)
|
deriveName | public String deriveName(String name, XSComponent comp)(Code) | | Derives a name from a schema component.
This method handles prefix/suffix modification and
XML-to-Java name conversion.
Parameters: name - The base name. This should be things like element namesor type names. Parameters: comp - The component from which the base name was taken.Used to determine how names are modified. |
getBindInfo | public BindInfo getBindInfo(XSComponent schemaComponent)(Code) | | Gets the BindInfo object associated to a schema component.
always return a valid BindInfo object. If noneis specified for the given component, a dummy empty BindInfowill be returned. |
getIdentityTransformer | public Transformer getIdentityTransformer()(Code) | | Gets the shared instance of the identity transformer.
|
getLocalDomCustomization | final protected BIDom getLocalDomCustomization(XSParticle p)(Code) | | Gets the
BIDom object that applies to the given particle.
|
getName | public static QName getName(XSDeclaration decl)(Code) | | Returns the QName of the declaration.
nullif the declaration is anonymous. |
getNameConverter | public NameConverter getNameConverter()(Code) | | Name converter that implements "XML->Java name conversion"
as specified in the spec.
This object abstracts the detail that we use different name
conversion depending on the customization.
This object should be used to perform any name conversion
needs, instead of the JJavaName class in CodeModel.
|
getOrCreateBindInfo | public BindInfo getOrCreateBindInfo(XSComponent schemaComponent)(Code) | | Gets or creates the BindInfo object associated to a schema component.
Always return a non-null valid BindInfo object.Even if no declaration was specified, this method createsa new BindInfo so that new decls can be added. |
getParticleBinder | public ParticleBinder getParticleBinder()(Code) | | Gets the particle binder for this binding.
|
ying | public void ying(XSComponent sc, XSComponent referer)(Code) | | If the component maps to a property, forwards to purple, otherwise to green.
If the component is mapped to a type, this method needs to return true.
See the chart at the class javadoc.
|
|
|