Public Member Functions | |
BlockList () | |
BlockList (String listOfValues) | |
boolean | hasAll () |
boolean | hasExtension () |
boolean | hasRestriction () |
boolean | hasSubstitution () |
String | toString () |
Static Public Attributes | |
static final String | ALL = "#all" |
static final String | EXTENSION = "extension" |
static final String | RESTRICTION = "restriction" |
static final String | SUBSTITUTION = "substitution" |
A class to represent the values of the XML Schema block property
org.exolab.castor.xml.schema.BlockList.BlockList | ( | ) |
Creates a new default BlockList. Nothing is flagged as being blocked.
org.exolab.castor.xml.schema.BlockList.BlockList | ( | String | listOfValues | ) |
Creates a new BlockList using the given list of values.
listOfValues | the list of block values |
IllegalArgumentException | if the list of values contains something other than "extension", "restriction", or "substition". |
boolean org.exolab.castor.xml.schema.BlockList.hasAll | ( | ) |
boolean org.exolab.castor.xml.schema.BlockList.hasExtension | ( | ) |
boolean org.exolab.castor.xml.schema.BlockList.hasRestriction | ( | ) |
boolean org.exolab.castor.xml.schema.BlockList.hasSubstitution | ( | ) |
Returns true if substitution is contained within this BlockList.
Referenced by org.exolab.castor.xml.schema.ComplexType.setBlock().
String org.exolab.castor.xml.schema.BlockList.toString | ( | ) |
Returns the String representation of this BlockList
References org.exolab.castor.xml.schema.BlockList.ALL, org.exolab.castor.xml.schema.BlockList.EXTENSION, and org.exolab.castor.xml.schema.BlockList.RESTRICTION.
final String org.exolab.castor.xml.schema.BlockList.ALL = "#all" [static] |
The all value
Referenced by org.exolab.castor.xml.schema.BlockList.toString().
final String org.exolab.castor.xml.schema.BlockList.EXTENSION = "extension" [static] |
The extension value
Referenced by org.exolab.castor.xml.schema.BlockList.toString().
final String org.exolab.castor.xml.schema.BlockList.RESTRICTION = "restriction" [static] |
The restriction value
Referenced by org.exolab.castor.xml.schema.BlockList.toString().
final String org.exolab.castor.xml.schema.BlockList.SUBSTITUTION = "substitution" [static] |
The substitution value