|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.interpreter.context.impl.GroupImpl
de.dante.extex.interpreter.context.impl.extension.GroupExtensionImpl
This is a simple implementation for a group with ExTeX-functions.
Field Summary |
Fields inherited from class de.dante.extex.interpreter.context.impl.GroupImpl |
serialVersionUID |
Constructor Summary | |
GroupExtensionImpl(Group next)
Creates a new object. |
Method Summary | |
Bool |
getBool(java.lang.String name)
Getter for the named bool register in the current group. |
HashToks |
getHashToks(java.lang.String name)
Getter for the named hash-toks register in the current group. |
Pair |
getPair(java.lang.String name)
Getter for the named pair register in the current group. |
Real |
getReal(java.lang.String name)
Getter for the named real register in the current group. |
Transform |
getTransform(java.lang.String name)
Getter for the named transform register in the current group. |
void |
setBool(java.lang.String name,
Bool value)
Setter for the bool register in the current group. |
void |
setBool(java.lang.String name,
Bool value,
boolean global)
Setter for a bool register in the requested groups. |
void |
setHashToks(java.lang.String name,
HashToks value)
Setter for the hash-toks register in the current group. |
void |
setHashToks(java.lang.String name,
HashToks value,
boolean global)
Setter for a hash-toks register in the requested groups. |
void |
setPair(java.lang.String name,
Pair value)
Setter for the pair register in the current group. |
void |
setPair(java.lang.String name,
Pair value,
boolean global)
Setter for a pair register in the requested groups. |
void |
setReal(java.lang.String name,
Real value)
Setter for the real register in the current group. |
void |
setReal(java.lang.String name,
Real value,
boolean global)
Setter for a real register in the requested groups. |
void |
setTransform(java.lang.String name,
Transform value)
Setter for the transform register in the current group. |
void |
setTransform(java.lang.String name,
Transform value,
boolean global)
Setter for a transform register in the requested groups. |
Methods inherited from class de.dante.extex.interpreter.context.impl.GroupImpl |
afterGroup, afterGroup, get, getAfterGroup, getBox, getCatcode, getCode, getCodeForToken, getCount, getDelcode, getDimen, getFont, getIf, getInFile, getLccode, getLevel, getLocator, getMathcode, getMuskip, getNamespace, getNext, getOutFile, getSfcode, getSkip, getStandardTokenStream, getStart, getToks, getToksOrNull, getType, getTypesettingContext, getUccode, runAfterGroup, set, setBox, setCatcode, setCode, setCount, setDelcode, setDimen, setFont, setIf, setInFile, setLccode, setLocator, setMathcode, setMuskip, setNamespace, setOutFile, setSfcode, setSkip, setStandardTokenStream, setStart, setToks, setType, setTypesettingContext, setUccode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.dante.extex.interpreter.Tokenizer |
getCatcode, getNamespace |
Methods inherited from interface de.dante.extex.interpreter.context.impl.Group |
afterGroup, afterGroup, get, getAfterGroup, getBox, getCatcode, getCode, getCount, getDelcode, getDimen, getFont, getIf, getInFile, getLccode, getLevel, getLocator, getMathcode, getMuskip, getNamespace, getNext, getOutFile, getSfcode, getSkip, getStandardTokenStream, getStart, getToks, getToksOrNull, getType, getTypesettingContext, getUccode, runAfterGroup, set, setBox, setCatcode, setCode, setCount, setDelcode, setDimen, setFont, setIf, setInFile, setLccode, setLocator, setMathcode, setMuskip, setNamespace, setOutFile, setSfcode, setSkip, setStandardTokenStream, setStart, setToks, setType, setTypesettingContext, setUccode |
Constructor Detail |
public GroupExtensionImpl(Group next) throws GeneralException
next
- the next group in the stack. If the value is null
then this is the global base
GeneralException
- if the group is not a groupextensionMethod Detail |
public Real getReal(java.lang.String name)
GroupExtension
getReal
in interface GroupExtension
name
- the name of the real register
GroupExtension.getReal(
java.lang.String)
public void setReal(java.lang.String name, Real value, boolean global)
GroupExtension
setReal
in interface GroupExtension
name
- the name of the real registervalue
- the value of the real registerglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlyGroupExtension.setReal(
java.lang.String,
de.dante.extex.interpreter.type.real.Real,
boolean)
public void setReal(java.lang.String name, Real value)
GroupExtension
setReal
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerGroupExtension.setReal(
java.lang.String,
de.dante.extex.interpreter.type.real.Real)
public Bool getBool(java.lang.String name)
GroupExtension
null
is returned.
getBool
in interface GroupExtension
name
- the name of the register
GroupExtension.getBool(
java.lang.String)
public void setBool(java.lang.String name, Bool value, boolean global)
GroupExtension
setBool
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlyGroupExtension.setBool(
java.lang.String,
de.dante.extex.interpreter.type.bool.Bool, boolean)
public void setBool(java.lang.String name, Bool value)
GroupExtension
setBool
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerGroupExtension.setBool(
java.lang.String,
de.dante.extex.interpreter.type.bool.Bool)
public Pair getPair(java.lang.String name)
GroupExtension
null
is returned.
getPair
in interface GroupExtension
name
- the name of the register
GroupExtension.getPair(
java.lang.String)
public void setPair(java.lang.String name, Pair value, boolean global)
GroupExtension
setPair
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlyGroupExtension.setPair(
java.lang.String,
de.dante.extex.interpreter.type.pair.Pair,
boolean)
public void setPair(java.lang.String name, Pair value)
GroupExtension
setPair
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerGroupExtension.setPair(
java.lang.String,
de.dante.extex.interpreter.type.pair.Pair)
public Transform getTransform(java.lang.String name)
GroupExtension
null
is returned.
getTransform
in interface GroupExtension
name
- the name of the register
GroupExtension.getTransform(
java.lang.String)
public void setTransform(java.lang.String name, Transform value, boolean global)
GroupExtension
setTransform
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlyGroupExtension.setTransform(
java.lang.String,
de.dante.extex.interpreter.type.transform.Transform,
boolean)
public void setTransform(java.lang.String name, Transform value)
GroupExtension
setTransform
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerGroupExtension.setTransform(
java.lang.String,
de.dante.extex.interpreter.type.transform.Transform)
public HashToks getHashToks(java.lang.String name)
GroupExtension
null
is returned.
getHashToks
in interface GroupExtension
name
- the name of the register
GroupExtension.getHashToks(
java.lang.String)
public void setHashToks(java.lang.String name, HashToks value, boolean global)
GroupExtension
setHashToks
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlyGroupExtension.setHashToks(
java.lang.String,
de.dante.extex.interpreter.type.hash.toks.HashToks,
boolean)
public void setHashToks(java.lang.String name, HashToks value)
GroupExtension
setHashToks
in interface GroupExtension
name
- the name of the registervalue
- the value of the registerGroupExtension.setHashToks(
java.lang.String,
de.dante.extex.interpreter.type.hash.toks.HashToks)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |