public final class BlockList
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ALL |
The #all value
|
static java.lang.String |
EXTENSION |
The extension value
|
static java.lang.String |
RESTRICTION |
The restriction value
|
static java.lang.String |
SUBSTITUTION |
The substitution value
|
Constructor | Description |
---|---|
BlockList() |
Creates a new default BlockList.
|
BlockList(java.lang.String listOfValues) |
Creates a new BlockList using the given list of values.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
java.lang.String |
toString() |
Returns the String representation of this BlockList
|
public static final java.lang.String ALL
public static final java.lang.String EXTENSION
public static final java.lang.String RESTRICTION
public static final java.lang.String SUBSTITUTION
public BlockList()
public BlockList(java.lang.String listOfValues)
listOfValues
- the list of block valuesjava.lang.IllegalArgumentException
- if the list of values contains
something other than "extension", "restriction", or "substition".public boolean hasAll()
public boolean hasExtension()
public boolean hasRestriction()
public boolean hasSubstitution()
public java.lang.String toString()
toString
in class java.lang.Object
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com