|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.FlagsImpl
public class FlagsImpl
This class implements a set of flags. This is needed to pass controlling information to primitives.
| Field Summary |
|---|
| Fields inherited from interface org.extex.interpreter.Flags |
|---|
NONE |
| Constructor Summary | |
|---|---|
FlagsImpl()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
clear()
This method clears all flags. |
boolean |
clearGlobal()
Setter for the global flag. |
boolean |
clearImmediate()
Setter for the immediate flag. |
boolean |
clearLong()
Setter for the long flag. |
boolean |
clearOuter()
Setter for the outer flag. |
boolean |
clearProtected()
Setter for the protected flag. |
Flags |
copy()
Clone an instance. |
java.lang.String[] |
get()
Getter for the text representations of the flags currently set. |
boolean |
isDirty()
Test if all flags are cleared. |
boolean |
isGlobal()
Getter for the global flag. |
boolean |
isImmediate()
Getter for the immediate flag. |
boolean |
isLong()
Getter for the long flag. |
boolean |
isOuter()
Getter for the outer flag. |
boolean |
isProtected()
Getter for the protected flag. |
void |
set(Flags flags)
Copy the flag settings from a given instance int this instance. |
void |
setGlobal()
Setter for the global flag. |
void |
setGlobal(boolean value)
Setter for the global flag. |
void |
setImmediate()
Setter for the immediate flag. |
void |
setLong()
Setter for the long flag. |
void |
setOuter()
Setter for the outer flag. |
void |
setProtected()
Setter for the protected flag. |
java.lang.String |
toString()
Determine a printable representation of the instance. |
java.lang.String |
toText()
Determine a printable representation of the flags set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlagsImpl()
| Method Detail |
|---|
public void clear()
clear in interface FlagsFlags.clear()public boolean clearGlobal()
false.
clearGlobal in interface FlagsFlags.clearGlobal()public boolean clearImmediate()
false.
clearImmediate in interface FlagsFlags.clearImmediate()public boolean clearLong()
false.
clearLong in interface FlagsFlags.clearLong()public boolean clearOuter()
false.
clearOuter in interface FlagsFlags.clearOuter()public boolean clearProtected()
false.
clearProtected in interface FlagsFlags.clearProtected()public Flags copy()
copy in interface FlagsFlags.copy()public java.lang.String[] get()
get in interface FlagsFlags.get()public boolean isDirty()
isDirty in interface Flagstrue iff not all flags are clearedFlags.isDirty()public boolean isGlobal()
isGlobal in interface FlagsFlags.clearGlobal(),
Flags.setGlobal(),
Flags.setGlobal(boolean)public boolean isImmediate()
isImmediate in interface FlagsFlags.clearImmediate(),
Flags.setImmediate()public boolean isLong()
isLong in interface FlagsFlags.clearLong(),
Flags.setLong()public boolean isOuter()
isOuter in interface FlagsFlags.clearOuter(),
Flags.setOuter()public boolean isProtected()
isProtected in interface FlagsFlags.isProtected()public void set(Flags flags)
set in interface Flagsflags - the flags to copyFlags.set(
org.extex.interpreter.Flags)public void setGlobal()
setGlobal in interface FlagsFlags.clearGlobal(),
Flags.isGlobal(),
Flags.setGlobal(boolean)public void setGlobal(boolean value)
setGlobal in interface Flagsvalue - the new value for the global flagFlags.clearGlobal(),
Flags.isGlobal(),
Flags.setGlobal()public void setImmediate()
setImmediate in interface FlagsFlags.clearImmediate(),
Flags.isImmediate()public void setLong()
setLong in interface FlagsFlags.clearLong(),
Flags.isLong()public void setOuter()
setOuter in interface FlagsFlags.clearOuter(),
Flags.isOuter()public void setProtected()
Flagstrue.
setProtected in interface FlagsFlags.setProtected()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toText()
toText in interface FlagsFlags.toText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||