org.exolab.castor.xml.schema
Class Form
java.lang.Object
org.exolab.castor.xml.schema.Form
public class Form
extends java.lang.Object
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.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:31 $
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.
|
QUALIFIED_VALUE
public static final String QUALIFIED_VALUE
The String value for the qualified Form
Qualified
public static final Form Qualified
The Qualified Form Object
UNQUALIFIED_VALUE
public static final String UNQUALIFIED_VALUE
The String value for the unqualified Form
Unqualified
public static final Form Unqualified
The Qualified Form Object
getValue
public String getValue()
Returns the String value of this Form.
- the String value of this Form.
isQualified
public boolean isQualified()
Returns true if this Form is the qualified Form.
- true if this Form is the qualified Form.
isUnqualified
public boolean isUnqualified()
Returns true if this Form is the unqualified Form.
- true if this Form is the unqualified Form.
toString
public String toString()
Returns the String value of this Form.
- the String value of this Form.
valueOf
public static Form valueOf(String formValue)
Returns the Form corresponding to the given value.
formValue
- the value of the Form to return.
- the Form corresponding to the given value.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com