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