org.apache.ws.jaxme.xs.jaxb

Interface JAXBGlobalBindings

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
static classJAXBGlobalBindings.UnderscoreBinding

Enumeration class holding possible values for getUnderscoreBinding.

Method Summary
StringgetCollectionType()

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

Returns the binding of underscores.

booleanisBindingStyleModelGroup()

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

booleanisChoiceContentProperty()

Returns the choiceContentProperty value.

booleanisEnableFailFastCheck()

Returns whether FailFastCheck is enabled.

booleanisEnableJavaNamingConventions()

Returns whether Java naming conventions are enabled.

booleanisFixedAttributeAsConstantProperty()

Returns whether fixed attributes are implemented as a constant property.

booleanisGenerateIsSetMethod()

Returns whether a isSet() method is being generated.

booleanisTypesafeEnumMemberName()

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

Method Detail

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.