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