public class JAXBGlobalBindingsImpl extends XsObjectImpl implements JAXBGlobalBindings
| Type | Property and Description |
|---|---|
boolean |
isChoiceContent
Returns the
choiceContentProperty value. |
boolean |
isFixedAttributeAsConstant
Returns whether fixed attributes are implemented as a
constant property.
|
JAXBGlobalBindings.UnderscoreBinding| Modifier | Constructor and Description |
|---|---|
protected |
JAXBGlobalBindingsImpl(XsObject pParent)
Creates a new instance of JAXBGlobalBindingsImpl.
|
| Modifier and Type | Method and Description |
|---|---|
JAXBJavaType |
createJavaType() |
protected XsObject |
getBeanByParent(XsObject pParent,
org.xml.sax.Locator pLocator,
XsQName pQName) |
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.
|
protected XsObjectCreator[] |
getXsObjectCreators() |
boolean |
isBindingStyleModelGroup()
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. |
protected boolean |
isPrefixEnabled(java.lang.String pPrefix) |
boolean |
isTypesafeEnumMemberName()
Returns whether the typesafeEnumMemberName generates an
error (false, default) or a name.
|
void |
setBindingStyle(java.lang.String 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) |
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validateisFixedAttributeAsConstantProperty in interface JAXBGlobalBindingsisChoiceContentProperty in interface JAXBGlobalBindingsprotected JAXBGlobalBindingsImpl(XsObject pParent)
Creates a new instance of JAXBGlobalBindingsImpl.
public void setCollectionType(java.lang.String pType)
public java.lang.String getCollectionType()
JAXBGlobalBindingsReturns the collection type; either of null ("indexed",
default) or an implementation of java.util.List.
getCollectionType in interface JAXBGlobalBindingspublic void setFixedAttributeAsConstantProperty(boolean pFixedAttributeAsConstantProperty)
public boolean isFixedAttributeAsConstantProperty()
JAXBGlobalBindingsReturns whether fixed attributes are implemented as a constant property. Defaults to false.
isFixedAttributeAsConstantProperty in interface JAXBGlobalBindingspublic void setGenerateIsSetMethod(boolean pGenerateIsSetMethod)
public boolean isGenerateIsSetMethod()
JAXBGlobalBindingsReturns whether a isSet() method is being
generated. Defaults to false.
isGenerateIsSetMethod in interface JAXBGlobalBindingspublic void setEnableFailFastCheck(boolean pEnableFailFastCheck)
public boolean isEnableFailFastCheck()
JAXBGlobalBindingsReturns whether FailFastCheck is enabled. Defaults to false.
isEnableFailFastCheck in interface JAXBGlobalBindingspublic void setChoiceContentProperty(boolean pChoiceContentProperty)
public boolean isChoiceContentProperty()
JAXBGlobalBindingsReturns 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 JAXBGlobalBindingspublic void setUnderscoreBinding(JAXBGlobalBindings.UnderscoreBinding pUnderscoreBinding)
public JAXBGlobalBindings.UnderscoreBinding getUnderscoreBinding()
JAXBGlobalBindingsReturns the binding of underscores. Defaults to "asWordSeparator" (false). The value true indicates "asCharInWord".
getUnderscoreBinding in interface JAXBGlobalBindingspublic void setEnableJavaNamingConventions(boolean pEnableJavaNamingConventions)
public boolean isEnableJavaNamingConventions()
JAXBGlobalBindingsReturns whether Java naming conventions are enabled. Defaults to true.
isEnableJavaNamingConventions in interface JAXBGlobalBindingspublic void setTypesafeEnumBase(XsQName[] pTypes)
public void setTypesafeEnumBase(java.lang.String pTypesafeEnumBase)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName[] getTypesafeEnumBase()
JAXBGlobalBindingsReturns 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 JAXBGlobalBindingspublic void setTypesafeEnumMemberName(boolean pTypesafeEnumMemberName)
public boolean isTypesafeEnumMemberName()
JAXBGlobalBindingsReturns whether the typesafeEnumMemberName generates an error (false, default) or a name.
isTypesafeEnumMemberName in interface JAXBGlobalBindingspublic void setBindingStyle(java.lang.String pBindingStyle)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic boolean isBindingStyleModelGroup()
JAXBGlobalBindingsReturns whether the elementBinding style is
being used (true, default) or not.
isBindingStyleModelGroup in interface JAXBGlobalBindingspublic JAXBJavaType createJavaType()
public JAXBJavaType.JAXBGlobalJavaType[] getJavaType()
JAXBGlobalBindingsReturns the list of javaType declarations.
getJavaType in interface JAXBGlobalBindingsprotected XsObjectCreator[] getXsObjectCreators()
protected boolean isPrefixEnabled(java.lang.String pPrefix)
protected XsObject getBeanByParent(XsObject pParent, org.xml.sax.Locator pLocator, XsQName pQName) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic 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