Public Member Functions | Static Public Attributes

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

List of all members.

Public Member Functions

 BlockList ()
 BlockList (String listOfValues)
boolean hasAll ()
boolean hasExtension ()
boolean hasRestriction ()
boolean hasSubstitution ()
String toString ()

Static Public Attributes

static final String ALL = "#all"
static final String EXTENSION = "extension"
static final String RESTRICTION = "restriction"
static final String SUBSTITUTION = "substitution"

Detailed Description

A class to represent the values of the XML Schema block property

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

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.BlockList.BlockList (  ) 

Creates a new default BlockList. Nothing is flagged as being blocked.

org.exolab.castor.xml.schema.BlockList.BlockList ( String  listOfValues  ) 

Creates a new BlockList using the given list of values.

Parameters:
listOfValues the list of block values
Exceptions:
IllegalArgumentException if the list of values contains something other than "extension", "restriction", or "substition".

Member Function Documentation

boolean org.exolab.castor.xml.schema.BlockList.hasAll (  ) 

Returns true if the BlockList contains "#all".

Returns:
true if the BlockList contains "#all".
boolean org.exolab.castor.xml.schema.BlockList.hasExtension (  ) 

Returns true if extension is contained within this BlockList.

Returns:
true if extension is contained within this BlockList.
boolean org.exolab.castor.xml.schema.BlockList.hasRestriction (  ) 

Returns true if restriction is contained within this BlockList.

Returns:
true if restriction is contained within this BlockList
boolean org.exolab.castor.xml.schema.BlockList.hasSubstitution (  ) 

Returns true if substitution is contained within this BlockList.

Returns:
true if substitution is contained within this BlockList.

Referenced by org.exolab.castor.xml.schema.ComplexType.setBlock().

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

Member Data Documentation

final String org.exolab.castor.xml.schema.BlockList.ALL = "#all" [static]
final String org.exolab.castor.xml.schema.BlockList.EXTENSION = "extension" [static]

The extension value

Referenced by org.exolab.castor.xml.schema.BlockList.toString().

final String org.exolab.castor.xml.schema.BlockList.RESTRICTION = "restriction" [static]

The restriction value

Referenced by org.exolab.castor.xml.schema.BlockList.toString().

final String org.exolab.castor.xml.schema.BlockList.SUBSTITUTION = "substitution" [static]

The substitution value


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