org.exolab.castor.xml.schema
public final class FinalList extends Object
Version: $Revision: 5951 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
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.