Public Member Functions | |
String | getValue () |
boolean | isQualified () |
boolean | isUnqualified () |
String | toString () |
Static Public Member Functions | |
static Form | valueOf (String formValue) |
Static Public Attributes | |
static final String | QUALIFIED_VALUE = "qualified" |
static final String | UNQUALIFIED_VALUE = "unqualified" |
static final Form | Qualified = new Form(QUALIFIED_VALUE) |
static final Form | Unqualified = new Form(UNQUALIFIED_VALUE) |
Represents an enumerated type which consists of two values: "qualified" and "unqualified". This is used for the "form" property on attribute and element defintions as well as the attributeFormDefault and elementFormDefault proprties on the Schema itself.
String org.exolab.castor.xml.schema.Form.getValue | ( | ) |
boolean org.exolab.castor.xml.schema.Form.isQualified | ( | ) |
Returns true if this Form is the qualified Form.
References org.exolab.castor.xml.schema.Form.Qualified.
boolean org.exolab.castor.xml.schema.Form.isUnqualified | ( | ) |
Returns true if this Form is the unqualified Form.
References org.exolab.castor.xml.schema.Form.Unqualified.
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace().
String org.exolab.castor.xml.schema.Form.toString | ( | ) |
static Form org.exolab.castor.xml.schema.Form.valueOf | ( | String | formValue | ) | [static] |
Returns the Form corresponding to the given value.
formValue | the value of the Form to return. |
IllegalArgumentException | when the given value is not valid. |
References org.exolab.castor.xml.schema.Form.Qualified, org.exolab.castor.xml.schema.Form.QUALIFIED_VALUE, org.exolab.castor.xml.schema.Form.Unqualified, and org.exolab.castor.xml.schema.Form.UNQUALIFIED_VALUE.
final Form org.exolab.castor.xml.schema.Form.Qualified = new Form(QUALIFIED_VALUE) [static] |
The Qualified Form Object
Referenced by org.exolab.castor.xml.schema.Form.isQualified(), and org.exolab.castor.xml.schema.Form.valueOf().
final String org.exolab.castor.xml.schema.Form.QUALIFIED_VALUE = "qualified" [static] |
The String value for the qualified Form
Referenced by org.exolab.castor.xml.schema.Form.valueOf().
final Form org.exolab.castor.xml.schema.Form.Unqualified = new Form(UNQUALIFIED_VALUE) [static] |
The Qualified Form Object
Referenced by org.exolab.castor.xml.schema.Form.isUnqualified(), and org.exolab.castor.xml.schema.Form.valueOf().
final String org.exolab.castor.xml.schema.Form.UNQUALIFIED_VALUE = "unqualified" [static] |
The String value for the unqualified Form
Referenced by org.exolab.castor.xml.schema.Form.valueOf().