Public Member Functions | Static Public Member Functions | Static Public Attributes

org.exolab.castor.xml.schema.Form Class Reference

List of all members.

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)

Detailed Description

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.

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:31

Member Function Documentation

String org.exolab.castor.xml.schema.Form.getValue (  ) 

Returns the String value of this Form.

Returns:
the String value of this Form.
boolean org.exolab.castor.xml.schema.Form.isQualified (  ) 

Returns true if this Form is the qualified Form.

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.

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 (  ) 

Returns the String value of this Form.

Returns:
the String value of this Form.
static Form org.exolab.castor.xml.schema.Form.valueOf ( String  formValue  )  [static]

Returns the Form corresponding to the given value.

Parameters:
formValue the value of the Form to return.
Returns:
the Form corresponding to the given value.
Exceptions:
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.


Member Data Documentation

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 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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties