Apache CXF API

org.apache.cxf.aegis.type
Class TypeCreationOptions

java.lang.Object
  extended by org.apache.cxf.aegis.type.TypeCreationOptions
Direct Known Subclasses:
Configuration

public class TypeCreationOptions
extends Object


Constructor Summary
TypeCreationOptions()
           
 
Method Summary
 int getDefaultMinOccurs()
          Absent any annotations of XML mapping, the value of the minOccurs attribute on elements.
 boolean isDefaultExtensibleAttributes()
          Should all elements permit 'any attribute'?
 boolean isDefaultExtensibleElements()
          Should all complex types include an xsd:any to allow for future expansion?
 boolean isDefaultNillable()
          Absent any annotations of XML mapping, the value of the nillable attribute on elements.
 boolean isQualifyAttributes()
          Whether or not attributes are qualified absent any annotations or mapping files.
 boolean isQualifyElements()
          Whether or not elements are qualified absent any annotations or mapping files.
 void setDefaultExtensibleAttributes(boolean defaultExtensibleAttributes)
           
 void setDefaultExtensibleElements(boolean defaultExtensibleElements)
           
 void setDefaultMinOccurs(int defaultMinOccurs)
           
 void setDefaultNillable(boolean defaultNillable)
           
 void setQualifyAttributes(boolean qualifyAttributes)
          Turn on or off attribute qualification.
 void setQualifyElements(boolean qualifyElements)
          Turn on of off element qualification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeCreationOptions

public TypeCreationOptions()
Method Detail

isDefaultExtensibleAttributes

public boolean isDefaultExtensibleAttributes()
Should all elements permit 'any attribute'?

Returns:

setDefaultExtensibleAttributes

public void setDefaultExtensibleAttributes(boolean defaultExtensibleAttributes)

isDefaultExtensibleElements

public boolean isDefaultExtensibleElements()
Should all complex types include an xsd:any to allow for future expansion?

Returns:

setDefaultExtensibleElements

public void setDefaultExtensibleElements(boolean defaultExtensibleElements)

getDefaultMinOccurs

public int getDefaultMinOccurs()
Absent any annotations of XML mapping, the value of the minOccurs attribute on elements.

Returns:

setDefaultMinOccurs

public void setDefaultMinOccurs(int defaultMinOccurs)

isDefaultNillable

public boolean isDefaultNillable()
Absent any annotations of XML mapping, the value of the nillable attribute on elements.

Returns:

setDefaultNillable

public void setDefaultNillable(boolean defaultNillable)

isQualifyElements

public boolean isQualifyElements()
Whether or not elements are qualified absent any annotations or mapping files. True by default.

Returns:

setQualifyElements

public void setQualifyElements(boolean qualifyElements)
Turn on of off element qualification.

Parameters:
qualifyElements -

isQualifyAttributes

public boolean isQualifyAttributes()
Whether or not attributes are qualified absent any annotations or mapping files. False by default.

Returns:

setQualifyAttributes

public void setQualifyAttributes(boolean qualifyAttributes)
Turn on or off attribute qualification.

Parameters:
qualifyAttributes -

Apache CXF API

Apache CXF