org.apache.ws.jaxme.xs.jaxb

Interface JAXBGlobalBindings

Known Implementing Classes:
JAXBGlobalBindingsImpl, JaxMeSchemaReader.JaxMeGlobalBindingsImpl

public interface JAXBGlobalBindings

This interface implements the JAXB global bindings.
Version:
$Id: JAXBGlobalBindings.java 231785 2004-02-16 23:39:59Z jochen $
Author:
Jochen Wiedmann

Nested Class Summary

class
JAXBGlobalBindings.UnderscoreBinding
Enumeration class holding possible values for JAXBGlobalBindings.getUnderscoreBinding().

Method Summary

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
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.
boolean
isTypesafeEnumMemberName()
Returns whether the typesafeEnumMemberName generates an error (false, default) or a name.

Method Details

getCollectionType

public String getCollectionType()
Returns the collection type; either of null ("indexed", default) or an implementation of java.util.List.

getJavaType

public JAXBJavaType.JAXBGlobalJavaType[] getJavaType()
Returns the list of javaType declarations.

getTypesafeEnumBase

public XsQName[] getTypesafeEnumBase()
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).

getUnderscoreBinding

public JAXBGlobalBindings.UnderscoreBinding getUnderscoreBinding()
Returns the binding of underscores. Defaults to "asWordSeparator" (false). The value true indicates "asCharInWord".

isBindingStyleModelGroup

public boolean isBindingStyleModelGroup()
Returns whether the elementBinding style is being used (true, default) or not.

isChoiceContentProperty

public boolean isChoiceContentProperty()
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.

isEnableFailFastCheck

public boolean isEnableFailFastCheck()
Returns whether FailFastCheck is enabled. Defaults to false.

isEnableJavaNamingConventions

public boolean isEnableJavaNamingConventions()
Returns whether Java naming conventions are enabled. Defaults to true.

isFixedAttributeAsConstantProperty

public boolean isFixedAttributeAsConstantProperty()
Returns whether fixed attributes are implemented as a constant property. Defaults to false.

isGenerateIsSetMethod

public boolean isGenerateIsSetMethod()
Returns whether a isSet() method is being generated. Defaults to false.

isTypesafeEnumMemberName

public boolean isTypesafeEnumMemberName()
Returns whether the typesafeEnumMemberName generates an error (false, default) or a name.