|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.xml.impl.XsObjectImpl net.sf.jaxme.xs.jaxb.impl.JAXBGlobalBindingsImpl
Nested Class Summary |
Nested classes inherited from class net.sf.jaxme.xs.jaxb.JAXBGlobalBindings |
JAXBGlobalBindings.UnderscoreBinding |
Constructor Summary | |
protected |
JAXBGlobalBindingsImpl(XsObject pParent)
Creates a new instance of JAXBGlobalBindingsImpl. |
Method Summary | |
JAXBJavaType |
createJavaType()
|
org.xml.sax.ContentHandler |
getChildHandler(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName)
|
java.lang.String |
getCollectionType()
Returns the collection type; either of null ("indexed", default) or an implementation of java.util.List . |
JAXBJavaType.JAXBGlobalJavaType[] |
getJavaType()
Returns the list of javaType declarations. |
XsQName[] |
getTypesafeEnumBase()
Returns a list of QNames, which are being implemented as type safe enumerations, if the xs:enumeration facet is
used. |
JAXBGlobalBindings.UnderscoreBinding |
getUnderscoreBinding()
Returns the binding of underscores. |
boolean |
isBindingStyle()
Returns whether the elementBinding style is
being used (true, default) or not. |
boolean |
isChoiceContentProperty()
Returns the choiceContentProperty value. |
boolean |
isEnableFailFastCheck()
Returns whether FailFastCheck is enabled. |
boolean |
isEnableJavaNamingConventions()
Returns whether Java naming conventions are enabled. |
boolean |
isFixedAttributeAsConstantProperty()
Returns whether fixed attributes are implemented as a constant property. |
boolean |
isGenerateIsSetMethod()
Returns whether a isSet() method is being
generated. |
boolean |
isTypesafeEnumMemberName()
Returns whether the typesafeEnumMemberName generates an error (false, default) or a name. |
void |
setBindingStyle(boolean pBindingStyle)
|
void |
setChoiceContentProperty(boolean pChoiceContentProperty)
|
void |
setCollectionType(java.lang.String pType)
|
void |
setEnableFailFastCheck(boolean pEnableFailFastCheck)
|
void |
setEnableJavaNamingConventions(boolean pEnableJavaNamingConventions)
|
void |
setFixedAttributeAsConstantProperty(boolean pFixedAttributeAsConstantProperty)
|
void |
setGenerateIsSetMethod(boolean pGenerateIsSetMethod)
|
void |
setTypesafeEnumBase(java.lang.String pTypesafeEnumBase)
|
void |
setTypesafeEnumBase(XsQName[] pTypes)
|
void |
setTypesafeEnumMemberName(boolean pTypesafeEnumMemberName)
|
void |
setUnderscoreBinding(JAXBGlobalBindings.UnderscoreBinding pUnderscoreBinding)
|
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl |
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected JAXBGlobalBindingsImpl(XsObject pParent)
Creates a new instance of JAXBGlobalBindingsImpl.
Method Detail |
public void setCollectionType(java.lang.String pType)
public java.lang.String getCollectionType()
JAXBGlobalBindings
Returns the collection type; either of null ("indexed",
default) or an implementation of java.util.List
.
getCollectionType
in interface JAXBGlobalBindings
public void setFixedAttributeAsConstantProperty(boolean pFixedAttributeAsConstantProperty)
public boolean isFixedAttributeAsConstantProperty()
JAXBGlobalBindings
Returns whether fixed attributes are implemented as a constant property. Defaults to false.
isFixedAttributeAsConstantProperty
in interface JAXBGlobalBindings
public void setGenerateIsSetMethod(boolean pGenerateIsSetMethod)
public boolean isGenerateIsSetMethod()
JAXBGlobalBindings
Returns whether a isSet()
method is being
generated. Defaults to false.
isGenerateIsSetMethod
in interface JAXBGlobalBindings
public void setEnableFailFastCheck(boolean pEnableFailFastCheck)
public boolean isEnableFailFastCheck()
JAXBGlobalBindings
Returns whether FailFastCheck is enabled. Defaults to false.
isEnableFailFastCheck
in interface JAXBGlobalBindings
public void setChoiceContentProperty(boolean pChoiceContentProperty)
public boolean isChoiceContentProperty()
JAXBGlobalBindings
Returns the choiceContentProperty
value. Defaults
to false. This value is ignored, if bindingStyle
is
defined as elementBinding
. In this case, setting
choiceContentProperty
is an error. Defaults to false.
isChoiceContentProperty
in interface JAXBGlobalBindings
public void setUnderscoreBinding(JAXBGlobalBindings.UnderscoreBinding pUnderscoreBinding)
public JAXBGlobalBindings.UnderscoreBinding getUnderscoreBinding()
JAXBGlobalBindings
Returns the binding of underscores. Defaults to "asWordSeparator" (false). The value true indicates "asCharInWord".
getUnderscoreBinding
in interface JAXBGlobalBindings
public void setEnableJavaNamingConventions(boolean pEnableJavaNamingConventions)
public boolean isEnableJavaNamingConventions()
JAXBGlobalBindings
Returns whether Java naming conventions are enabled. Defaults to true.
isEnableJavaNamingConventions
in interface JAXBGlobalBindings
public void setTypesafeEnumBase(XsQName[] pTypes)
public void setTypesafeEnumBase(java.lang.String pTypesafeEnumBase) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsQName[] getTypesafeEnumBase()
JAXBGlobalBindings
Returns a list of QNames, which are being implemented as type
safe enumerations, if the xs:enumeration
facet is
used. Defaults to xs:NCName
(single element list).
getTypesafeEnumBase
in interface JAXBGlobalBindings
public void setTypesafeEnumMemberName(boolean pTypesafeEnumMemberName)
public boolean isTypesafeEnumMemberName()
JAXBGlobalBindings
Returns whether the typesafeEnumMemberName generates an error (false, default) or a name.
isTypesafeEnumMemberName
in interface JAXBGlobalBindings
public void setBindingStyle(boolean pBindingStyle)
public boolean isBindingStyle()
JAXBGlobalBindings
Returns whether the elementBinding
style is
being used (true, default) or not.
isBindingStyle
in interface JAXBGlobalBindings
public JAXBJavaType createJavaType()
public JAXBJavaType.JAXBGlobalJavaType[] getJavaType()
JAXBGlobalBindings
Returns the list of javaType
declarations.
getJavaType
in interface JAXBGlobalBindings
public org.xml.sax.ContentHandler getChildHandler(java.lang.String pQName, java.lang.String pNamespaceURI, java.lang.String pLocalName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |