org.exolab.castor.xml.schema
Class BlockList
java.lang.Object
org.exolab.castor.xml.schema.BlockList
public final class BlockList
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:29 $
BlockList() - Creates a new default BlockList.
|
BlockList(String listOfValues) - Creates a new BlockList using the given list of values.
|
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
|
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
SUBSTITUTION
public static final String SUBSTITUTION
The substitution value
BlockList
public BlockList()
Creates a new default BlockList. Nothing is flagged
as being blocked.
BlockList
public BlockList(String listOfValues)
Creates a new BlockList using the given list of values.
listOfValues
- the list of block values
hasAll
public boolean hasAll()
Returns true if the BlockList contains "#all".
- true if the BlockList contains "#all".
hasExtension
public boolean hasExtension()
Returns true if extension is contained within this BlockList.
- true if extension is contained within this BlockList.
hasRestriction
public boolean hasRestriction()
Returns true if restriction is contained within this BlockList.
- true if restriction is contained within this BlockList
hasSubstitution
public boolean hasSubstitution()
Returns true if substitution is contained within this BlockList.
- true if substitution is contained within this BlockList.
toString
public String toString()
Returns the String representation of this BlockList
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com