|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl org.apache.ws.jaxme.xs.jaxb.impl.JAXBGlobalBindingsImpl
public class JAXBGlobalBindingsImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.xs.jaxb.JAXBGlobalBindings |
---|
JAXBGlobalBindings.UnderscoreBinding |
Constructor Summary | |
---|---|
protected |
JAXBGlobalBindingsImpl(XsObject pParent)
Creates a new instance of JAXBGlobalBindingsImpl. |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl |
---|
asXsQName, 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(java.lang.String pBindingStyle) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public boolean isBindingStyleModelGroup()
JAXBGlobalBindings
Returns whether the elementBinding
style is
being used (true, default) or not.
isBindingStyleModelGroup
in interface JAXBGlobalBindings
public JAXBJavaType createJavaType()
public JAXBJavaType.JAXBGlobalJavaType[] getJavaType()
JAXBGlobalBindings
Returns the list of javaType
declarations.
getJavaType
in interface JAXBGlobalBindings
protected 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.SAXException
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 |