|
||||||||
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 java.lang.String |
ALL
The #all value |
static java.lang.String |
EXTENSION
The extension value |
static java.lang.String |
RESTRICTION
The restriction value |
Constructor Summary | |
---|---|
FinalList()
Creates a new default FinalList. |
|
FinalList(java.lang.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. |
java.lang.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 java.lang.String ALL
public static final java.lang.String EXTENSION
public static final java.lang.String RESTRICTION
Constructor Detail |
---|
public FinalList()
public FinalList(java.lang.String listOfValues)
listOfValues
- the list of final values
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |