|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.primitives.register.bool.Bool
public class Bool
The register 'bool'.
| Constructor Summary | |
|---|---|
Bool()
Creates a new object. |
|
Bool(boolean val)
Creates a new object. |
|
Bool(Context context,
TokenSource source,
Typesetter typesetter)
Creates a new object. |
|
Bool(long l)
Creates a new object. |
|
Bool(java.lang.String s)
Creates a new object. |
|
| Method Summary | |
|---|---|
boolean |
getValue()
Getter for the value |
void |
not()
not |
void |
setValue(boolean b)
Setter for the value. |
java.lang.String |
toString()
Return the value as String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bool()
public Bool(boolean val)
val - initial boolean value
public Bool(Context context,
TokenSource source,
Typesetter typesetter)
throws HelpingException,
ConfigurationException,
TypesetterException
TokenSource for a
Bool.
context - the contextsource - the token sourcetypesetter - the typesetter
HelpingException - in case of an error.
ConfigurationException - in case if a configuration error
TypesetterException - in case of an errorpublic Bool(long l)
0 -> false
!= -> true
l - the value as long
public Bool(java.lang.String s)
throws HelpingException
s - the value as String
HelpingException - if no boolean-value are found| Method Detail |
|---|
public boolean getValue()
public void not()
public void setValue(boolean b)
b - the new valuepublic java.lang.String toString()
String
toString in class java.lang.ObjectString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||