|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.BlockList
public final class BlockList
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 |
static String |
SUBSTITUTION
The substitution value |
| Constructor Summary | |
|---|---|
BlockList()
Creates a new default BlockList. |
|
BlockList(String listOfValues)
Creates a new BlockList using the given list of values. |
|
| Method Summary | |
|---|---|
boolean |
hasAll()
Returns true if the BlockList contains "#all". |
boolean |
hasExtension()
Returns true if extension is contained within this BlockList. |
boolean |
hasRestriction()
Returns true if restriction is contained within this BlockList. |
boolean |
hasSubstitution()
Returns true if substitution is contained within this BlockList. |
String |
toString()
Returns the String representation of this BlockList |
| 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
public static final String SUBSTITUTION
| Constructor Detail |
|---|
public BlockList()
public BlockList(String listOfValues)
listOfValues - the list of block values
IllegalArgumentException - if the list of values contains
something other than "extension", "restriction", or "substition".| Method Detail |
|---|
public boolean hasAll()
public boolean hasExtension()
public boolean hasRestriction()
public boolean hasSubstitution()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||