|
||||||||||
| 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 String |
QUALIFIED_VALUE
The String value for the qualified Form |
static Form |
Unqualified
The Qualified Form Object |
static String |
UNQUALIFIED_VALUE
The String value for the unqualified Form |
| Method Summary | |
|---|---|
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. |
String |
toString()
Returns the String value of this Form. |
static Form |
valueOf(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 String QUALIFIED_VALUE
public static final String UNQUALIFIED_VALUE
public static final Form Qualified
public static final Form Unqualified
| Method Detail |
|---|
public String getValue()
public boolean isQualified()
public boolean isUnqualified()
public String toString()
toString in class Objectpublic static Form valueOf(String formValue)
formValue - the value of the Form to return.
IllegalArgumentException - when the given value
is not valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||