|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.obeo.acceleo.gen.template.scripts.imports.services.ContextServices
public class ContextServices
System services for ENode elements.
Constructor Summary | |
---|---|
ContextServices()
Constructor. |
Method Summary | |
---|---|
fr.obeo.acceleo.gen.template.eval.ENode |
get(fr.obeo.acceleo.gen.template.eval.ENode node,
java.lang.String key)
Gets the node for the given key in the context. |
fr.obeo.acceleo.gen.template.eval.ENode |
nGet(fr.obeo.acceleo.gen.template.eval.ENode node,
fr.obeo.acceleo.gen.template.eval.ENode key)
Deprecated. |
fr.obeo.acceleo.gen.template.eval.ENode |
nPeek(fr.obeo.acceleo.gen.template.eval.ENode node)
Deprecated. |
void |
nPop(fr.obeo.acceleo.gen.template.eval.ENode node)
Deprecated. |
void |
nPush(fr.obeo.acceleo.gen.template.eval.ENode node)
Deprecated. |
void |
nPut(fr.obeo.acceleo.gen.template.eval.ENode node,
java.lang.String key)
Deprecated. |
fr.obeo.acceleo.gen.template.eval.ENode |
peek(fr.obeo.acceleo.gen.template.eval.ENode node)
Return the last node pushed into the context, and returns an empty string. |
void |
pop(fr.obeo.acceleo.gen.template.eval.ENode node)
Pops the context, and returns an empty string. |
void |
push(fr.obeo.acceleo.gen.template.eval.ENode node)
Pushes the current node into the context, and returns an empty string. |
void |
put(fr.obeo.acceleo.gen.template.eval.ENode node,
java.lang.String key)
Puts the current node in the context for the given key, and return an empty string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextServices()
Method Detail |
---|
public void nPut(fr.obeo.acceleo.gen.template.eval.ENode node, java.lang.String key)
node
- is the current nodekey
- is the key in the contextpublic void put(fr.obeo.acceleo.gen.template.eval.ENode node, java.lang.String key)
node
- is the current nodekey
- is the key in the contextpublic fr.obeo.acceleo.gen.template.eval.ENode nGet(fr.obeo.acceleo.gen.template.eval.ENode node, fr.obeo.acceleo.gen.template.eval.ENode key) throws fr.obeo.acceleo.gen.template.eval.ENodeCastException, fr.obeo.acceleo.ecore.factories.FactoryException
node
- is the current nodekey
- is the key in the context
fr.obeo.acceleo.gen.template.eval.ENodeCastException
fr.obeo.acceleo.ecore.factories.FactoryException
public fr.obeo.acceleo.gen.template.eval.ENode get(fr.obeo.acceleo.gen.template.eval.ENode node, java.lang.String key)
node
- is the current nodekey
- is the key in the context
public void nPush(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current nodepublic void push(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current nodepublic void nPop(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current nodepublic void pop(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current nodepublic fr.obeo.acceleo.gen.template.eval.ENode nPeek(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current node
public fr.obeo.acceleo.gen.template.eval.ENode peek(fr.obeo.acceleo.gen.template.eval.ENode node)
node
- is the current node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |