|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.Form
public class Form
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.
Field Summary | |
---|---|
static Form |
Qualified
The Qualified Form Object |
static java.lang.String |
QUALIFIED_VALUE
The String value for the qualified Form |
static Form |
Unqualified
The Qualified Form Object |
static java.lang.String |
UNQUALIFIED_VALUE
The String value for the unqualified Form |
Method Summary | |
---|---|
java.lang.String |
getValue()
Returns the String value of this Form. |
boolean |
isQualified()
Returns true if this Form is the qualified Form. |
boolean |
isUnqualified()
Returns true if this Form is the unqualified Form. |
java.lang.String |
toString()
Returns the String value of this Form. |
static Form |
valueOf(java.lang.String formValue)
Returns the Form corresponding to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String QUALIFIED_VALUE
public static final java.lang.String UNQUALIFIED_VALUE
public static final Form Qualified
public static final Form Unqualified
Method Detail |
---|
public java.lang.String getValue()
public boolean isQualified()
public boolean isUnqualified()
public java.lang.String toString()
toString
in class java.lang.Object
public static Form valueOf(java.lang.String formValue)
formValue
- the value of the Form to return.
java.lang.IllegalArgumentException
- when the given value
is not valid.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |