|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface of a source generator for the whole schema.
| Method Summary | |
void |
generate()
Performs the source generation. |
void |
generateJaxbProperties()
Creates the "jaxb.properties" file. |
java.lang.String |
getCollectionType()
Returns the schemas collection type, as specified by the JAXB globalBindings tag. |
ObjectSG |
getElement(net.sf.jaxme.xs.xml.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(net.sf.jaxme.xs.xml.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. |
net.sf.jaxme.js.JavaSourceFactory |
getJavaSourceFactory()
Returns the schemas JavaSourceFactory. |
net.sf.jaxme.xs.jaxb.JAXBJavaType[] |
getJAXBJavaTypes()
Returns the globally configured instances of JAXBJavaType. |
ObjectSG[] |
getObjects()
Returns the schemas global attributes and elements. |
TypeSG |
getType(net.sf.jaxme.xs.xml.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. |
net.sf.jaxme.xs.xml.XsQName[] |
getTypesafeEnumBase()
Returns the globally configured value for typesafeenumbase. |
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". |
| Methods inherited from interface net.sf.jaxme.generator.sg.SGItem |
getFactory, getLocator, getSchema, init |
| Method Detail |
public TypeSG[] getTypes()
throws SAXException
Returns the schemas global types.
SAXException
public TypeSG getType(net.sf.jaxme.xs.xml.XsQName pName)
throws SAXException
Returns the schemas global type with the given name or null, if no such type exists.
SAXException
public GroupSG[] getGroups()
throws SAXException
Returns the schemas model groups.
SAXException
public GroupSG getGroup(net.sf.jaxme.xs.xml.XsQName pName)
throws SAXException
Returns the schemas global group with the given name or null, if no such type exists.
SAXException
public ObjectSG[] getObjects()
throws SAXException
Returns the schemas global attributes and elements.
SAXException
public ObjectSG getElement(net.sf.jaxme.xs.xml.XsQName pName)
throws SAXException
Returns the schemas global element with the given name or null, if no such element exists.
SAXException
public ObjectSG[] getElements()
throws SAXException
Returns the schemas global elements.
SAXExceptionpublic java.lang.String getCollectionType()
Returns the schemas collection type, as specified by the JAXB globalBindings tag.
public net.sf.jaxme.js.JavaSourceFactory getJavaSourceFactory()
Returns the schemas JavaSourceFactory.
public void generate()
throws SAXException
Performs the source generation.
SAXExceptionpublic boolean isBindingStyleModelGroup()
Returns whether the schema prefers model group binding style or not. Defaults to false.
public boolean isChoiceContentProperty()
Returns whether the value "choiceContentProperty" is enabled. Defaults to false.
public boolean isFailFastCheckEnabled()
Returns whether the property "enableFailFastCheck" is enabled. Defaults to false.
public boolean isJavaNamingConventionsEnabled()
Returns whether the property "enableJavaConventions" is enabled. Defaults to true.
public boolean isFixedAttributeConstantProperty()
Returns whether the property "isFixedAttributeConstantProperty" is enabled. Defaults to false.
public boolean isGeneratingIsSetMethod()
Returns whether the property "generateIsSetMethod" is enabled. Defaults to false.
public boolean isUnderscoreWordSeparator()
Returns whether the property "underscoreBinding" has the value "asWordSeparator". Defaults to true.
public net.sf.jaxme.xs.jaxb.JAXBJavaType[] getJAXBJavaTypes()
Returns the globally configured instances of JAXBJavaType.
public net.sf.jaxme.xs.xml.XsQName[] getTypesafeEnumBase()
Returns the globally configured value for typesafeenumbase.
public void generateJaxbProperties()
throws SAXException
Creates the "jaxb.properties" file.
SAXException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||