Package org.apache.cxf.aegis.type
Class TypeCreationOptions
- java.lang.Object
-
- org.apache.cxf.aegis.type.TypeCreationOptions
-
public class TypeCreationOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description TypeCreationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultMinOccurs()Absent any annotations of XML mapping, the value of the minOccurs attribute on elements.booleanisDefaultExtensibleAttributes()Should all elements permit 'any attribute'?booleanisDefaultExtensibleElements()Should all complex types include an xsd:any to allow for future expansion?booleanisDefaultNillable()Absent any annotations of XML mapping, the value of the nillable attribute on elements.booleanisQualifyAttributes()Whether or not attributes are qualified absent any annotations or mapping files.booleanisQualifyElements()Whether or not elements are qualified absent any annotations or mapping files.voidsetDefaultExtensibleAttributes(boolean defaultExtensibleAttributes)voidsetDefaultExtensibleElements(boolean defaultExtensibleElements)voidsetDefaultMinOccurs(int defaultMinOccurs)voidsetDefaultNillable(boolean defaultNillable)voidsetQualifyAttributes(boolean qualifyAttributes)Turn on or off attribute qualification.voidsetQualifyElements(boolean qualifyElements)Turn on of off element qualification.
-
-
-
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-
-
-