|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.util.saplbuilder.Literal
public class Literal
Representation of a literal.
| Constructor Summary | |
|---|---|
Literal(boolean value)
|
|
Literal(java.util.Date date)
Constructs a literal from a date. |
|
Literal(java.lang.String value)
Constructs a literal from the given string representation. |
|
| Method Summary | |
|---|---|
void |
generateSapl(java.lang.StringBuilder builder)
Generates the s-apl representation of the literal. |
java.lang.String |
toString()
Returns the literal value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Literal(java.lang.String value)
value - the value of this Literal.
java.lang.NullPointerException - If the specified value is null.public Literal(java.util.Date date)
date - The date to create a literal from.public Literal(boolean value)
| Method Detail |
|---|
public void generateSapl(java.lang.StringBuilder builder)
generateSapl in interface ObjectgenerateSapl in interface Subjectbuilder - The StringBuilder on which the representation must be appended.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||