org.exolab.castor.xml.schema
Class FinalList
java.lang.Objectorg.exolab.castor.xml.schema.FinalList
public final class FinalList
extends java.lang.Object
A class to represent the values of the XML Schema block property
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:31 $static String | ALL- The #all value
|
static String | EXTENSION- The extension value
|
static String | RESTRICTION- The restriction value
|
FinalList()- Creates a new default FinalList.
|
FinalList(String listOfValues)- Creates a new FinalList using the given list of values.
|
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.
|
ALL
public static final String ALL
The #all value
EXTENSION
public static final String EXTENSION
The extension value
RESTRICTION
public static final String RESTRICTION
The restriction value
FinalList
public FinalList()
Creates a new default FinalList. Nothing is flagged
as being final.
FinalList
public FinalList(String listOfValues)
Creates a new FinalList using the given list of values.
listOfValues - the list of final values
hasAll
public boolean hasAll()
Returns true if the FinalList contains "#all".
- true if the FinalList contains "#all".
hasExtension
public boolean hasExtension()
Returns true if extension is contained within this FinalList.
- true if extension is contained within this FinalList.
hasRestriction
public boolean hasRestriction()
Returns true if restriction is contained within this FinalList.
- true if restriction is contained within this FinalList.
toString
public String toString()
Returns the String representation of this FinalList.
- the String representation of this FinalList.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com