org.apache.ws.jaxme.generator.sg
public interface SchemaSG extends SGItem
Interface of a source generator for the whole schema.
Specifies the source representing a complete schema.
The actual generation of the concrete source files
is delegated to the JavaSourceFactory
available by calling {@link #getJavaSourceFactory}.
Various portions of the source artifacts are made
available through property accessors.
Method Summary | |
---|---|
void | generate() Performs the source generation. |
void | generateJaxbProperties() Creates the "jaxb.properties" file. |
String | getCollectionType() Returns the schemas collection type, as specified by the JAXB globalBindings tag. |
Document | getConfigFile(String pPackageName, List pContextList) Generates the "Configuration.xml" file as a DOM node. |
ObjectSG | getElement(XsQName pName) Returns the schemas global element with the given name or null, if no such element exists. |
ObjectSG[] | getElements() Returns the schemas global elements. |
GroupSG | getGroup(XsQName pName) Returns the schemas global group with the given name or null, if no such type exists. |
GroupSG[] | getGroups() Returns the schemas model groups. |
JAXBJavaType[] | getJAXBJavaTypes() Returns the globally configured instances of {@link JAXBJavaType}. |
JavaSourceFactory | getJavaSourceFactory() Returns the schemas {@link org.apache.ws.jaxme.js.JavaSourceFactory}. |
ObjectSG[] | getObjects() Returns the schemas global attributes and elements. |
TypeSG | getType(XsQName pName) Returns the schemas global type with the given name or null, if no such type exists. |
TypeSG[] | getTypes() Returns the schemas global types. |
XsQName[] | getTypesafeEnumBase() Returns the globally configured value for |
boolean | isBindingStyleModelGroup() Returns whether the schema prefers model group binding style or not. |
boolean | isChoiceContentProperty() Returns whether the value "choiceContentProperty" is enabled. |
boolean | isFailFastCheckEnabled() Returns whether the property "enableFailFastCheck" is enabled. |
boolean | isFixedAttributeConstantProperty() Returns whether the property "isFixedAttributeConstantProperty" is enabled. |
boolean | isGeneratingIsSetMethod() Returns whether the property "generateIsSetMethod" is enabled. |
boolean | isJavaNamingConventionsEnabled() Returns whether the property "enableJavaConventions" is enabled. |
boolean | isUnderscoreWordSeparator() Returns whether the property "underscoreBinding" has the value "asWordSeparator". |
Performs the source generation.
Creates the "jaxb.properties" file.
Returns the schemas collection type, as specified by the JAXB globalBindings tag.
Generates the "Configuration.xml" file as a DOM node. Event handlers may modify the DOM node.
Parameters: pPackageName The package, for which a configuration is being generated. pContextList A list of objects generated in the package.
Returns the schemas global element with the given name or null, if no such element exists.
Returns the schemas global elements.
Returns the schemas global group with the given name or null, if no such type exists.
Returns the schemas model groups.
Returns the globally configured instances of {@link JAXBJavaType}.
Returns the schemas {@link org.apache.ws.jaxme.js.JavaSourceFactory}.
Returns the schemas global attributes and elements.
Returns the schemas global type with the given name or null, if no such type exists.
Returns the schemas global types.
Returns the globally configured value for typesafeenumbase
.
Returns whether the schema prefers model group binding style or not. Defaults to false.
Returns whether the value "choiceContentProperty" is enabled. Defaults to false.
Returns whether the property "enableFailFastCheck" is enabled. Defaults to false.
Returns whether the property "isFixedAttributeConstantProperty" is enabled. Defaults to false.
Returns whether the property "generateIsSetMethod" is enabled. Defaults to false.
Returns whether the property "enableJavaConventions" is enabled. Defaults to true.
Returns whether the property "underscoreBinding" has the value "asWordSeparator". Defaults to true.