Package org.apache.cxf.aegis.type
Class TypeCreationOptions
java.lang.Object
org.apache.cxf.aegis.type.TypeCreationOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAbsent any annotations of XML mapping, the value of the minOccurs attribute on elements.booleanShould all elements permit 'any attribute'?booleanShould all complex types include an xsd:any to allow for future expansion?booleanAbsent any annotations of XML mapping, the value of the nillable attribute on elements.booleanWhether or not attributes are qualified absent any annotations or mapping files.booleanWhether 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.
-
Constructor Details
-
TypeCreationOptions
public TypeCreationOptions()
-
-
Method Details
-
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-
-