org.exolab.castor.xml.schema
public final class BlockList extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:29 $
| Field Summary | |
|---|---|
| static String | ALL
The #all value
|
| static String | EXTENSION
The extension value
|
| static String | RESTRICTION
The restriction value
|
| static String | SUBSTITUTION
The substitution value
|
| Constructor Summary | |
|---|---|
| BlockList()
Creates a new default BlockList. | |
| BlockList(String listOfValues)
Creates a new BlockList using the given list of values.
| |
| Method Summary | |
|---|---|
| boolean | hasAll()
Returns true if the BlockList contains "#all".
|
| boolean | hasExtension()
Returns true if extension is contained within this BlockList.
|
| boolean | hasRestriction()
Returns true if restriction is contained within this BlockList.
|
| boolean | hasSubstitution()
Returns true if substitution is contained within this BlockList.
|
| String | toString()
Returns the String representation of this BlockList
|
Parameters: listOfValues the list of block values
Throws: IllegalArgumentException if the list of values contains something other than "extension", "restriction", or "substition".
Returns: true if the BlockList contains "#all".
Returns: true if extension is contained within this BlockList.
Returns: true if restriction is contained within this BlockList
Returns: true if substitution is contained within this BlockList.