org.apache.ws.jaxme.xs.jaxb
Interface JAXBGlobalBindings

All Known Implementing Classes:
JAXBGlobalBindingsImpl, JaxMeSchemaReader.JaxMeGlobalBindingsImpl

public interface JAXBGlobalBindings

This interface implements the JAXB global bindings.

Version:
$Id$
Author:
Jochen Wiedmann

Nested Class Summary
static class JAXBGlobalBindings.UnderscoreBinding
          Enumeration class holding possible values for getUnderscoreBinding().
 
Method Summary
 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 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 Detail

getCollectionType

java.lang.String getCollectionType()

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


isFixedAttributeAsConstantProperty

boolean isFixedAttributeAsConstantProperty()

Returns whether fixed attributes are implemented as a constant property. Defaults to false.


isGenerateIsSetMethod

boolean isGenerateIsSetMethod()

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


isEnableFailFastCheck

boolean isEnableFailFastCheck()

Returns whether FailFastCheck is enabled. Defaults to false.


isChoiceContentProperty

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.


getUnderscoreBinding

JAXBGlobalBindings.UnderscoreBinding getUnderscoreBinding()

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


isEnableJavaNamingConventions

boolean isEnableJavaNamingConventions()

Returns whether Java naming conventions are enabled. Defaults to true.


getTypesafeEnumBase

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).


isTypesafeEnumMemberName

boolean isTypesafeEnumMemberName()

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


isBindingStyleModelGroup

boolean isBindingStyleModelGroup()

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


getJavaType

JAXBJavaType.JAXBGlobalJavaType[] getJavaType()

Returns the list of javaType declarations.