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

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

Inheritance diagram for org.exolab.castor.xml.schema.ContentType:
org.exolab.castor.xml.schema.SimpleContent

List of all members.

Public Member Functions

short getType ()
String toString ()

Static Public Member Functions

static ContentType valueOf (String contentType) throws IllegalArgumentException

Static Public Attributes

static final short ELEMENT_ONLY = 0
static final short MIXED = 1
static final short EMPTY = 2
static final short ANY = 3
static final short SIMPLE = 4
static final short TEXT_ONLY = 5
static final ContentType elemOnly = new ContentType(ELEMENT_ONLY)
static final ContentType mixed = new ContentType(MIXED)
static final ContentType empty = new ContentType(EMPTY)
static final ContentType any = new ContentType(ANY)
static final ContentType textOnly = new ContentType(TEXT_ONLY)

Protected Member Functions

 ContentType (short type)

Detailed Description

An XML Schema ContentType

Author:
Keith Visco
Version:
Revision:
1.2
Date:
2003/03/03 18:08:27

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.ContentType.ContentType ( short  type  )  [protected]

Creates a new ContentType.


Member Function Documentation

short org.exolab.castor.xml.schema.ContentType.getType (  ) 

Returns the type of this ContentType

Returns:
the type of this ContentType

Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().

String org.exolab.castor.xml.schema.ContentType.toString (  ) 

Returns the String representation of this ContentType

Returns:
the String representation of this ContentType
static ContentType org.exolab.castor.xml.schema.ContentType.valueOf ( String  contentType  )  throws IllegalArgumentException [static]

Member Data Documentation


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