net.sf.jaxme.xs.jaxb
Interface JAXBGlobalBindings

All Known Implementing Classes:
JAXBGlobalBindingsImpl

public interface JAXBGlobalBindings

This interface implements the JAXB global bindings.

Version:
$Id: JAXBGlobalBindings.java,v 1.1 2003/07/21 05:01:10 joe Exp $
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 isBindingStyle()
          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

public java.lang.String getCollectionType()

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


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.


isEnableFailFastCheck

public boolean isEnableFailFastCheck()

Returns whether FailFastCheck is enabled. Defaults to false.


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.


getUnderscoreBinding

public JAXBGlobalBindings.UnderscoreBinding getUnderscoreBinding()

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


isEnableJavaNamingConventions

public boolean isEnableJavaNamingConventions()

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


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


isTypesafeEnumMemberName

public boolean isTypesafeEnumMemberName()

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


isBindingStyle

public boolean isBindingStyle()

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


getJavaType

public JAXBJavaType.JAXBGlobalJavaType[] getJavaType()

Returns the list of javaType declarations.