|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.FinalList
public final class FinalList
A class to represent the values of the XML Schema block property
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ALL
public static final String EXTENSION
public static final String RESTRICTION
| Constructor Detail |
|---|
public FinalList()
public FinalList(String listOfValues)
listOfValues - the list of final values
IllegalArgumentException - if the list of values contains
something other than "#all", "extension", "restriction".| Method Detail |
|---|
public boolean hasAll()
public boolean hasExtension()
public boolean hasRestriction()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||