public class RequestServices
Request services.
Constructor Summary | |
---|---|
RequestServices(fr.obeo.acceleo.gen.template.scripts.SpecificScript script)
Constructor. |
Method Summary | |
---|---|
fr.obeo.acceleo.gen.template.eval.ENode |
delete(fr.obeo.acceleo.gen.template.eval.ENode current,
java.lang.String call,
java.lang.String value)
Evaluates the given expression on all the elements of the current node and delete the elements that returns the given value. |
fr.obeo.acceleo.gen.template.eval.ENode |
select(fr.obeo.acceleo.gen.template.eval.ENode current,
java.lang.String call,
java.lang.String value)
Evaluates the given expression on all the elements of the current node and keep the elements that returns the given value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestServices(fr.obeo.acceleo.gen.template.scripts.SpecificScript script)
script
- is the scriptMethod Detail |
---|
public fr.obeo.acceleo.gen.template.eval.ENode delete(fr.obeo.acceleo.gen.template.eval.ENode current, java.lang.String call, java.lang.String value) throws fr.obeo.acceleo.gen.template.eval.ENodeException, fr.obeo.acceleo.ecore.factories.FactoryException, fr.obeo.acceleo.gen.template.eval.ENodeCastException, fr.obeo.acceleo.gen.template.TemplateSyntaxException
current
- is the current node of generationcall
- is the expression to applyvalue
- is the value of the elements to delete
fr.obeo.acceleo.gen.template.eval.ENodeException
fr.obeo.acceleo.ecore.factories.FactoryException
fr.obeo.acceleo.gen.template.eval.ENodeCastException
fr.obeo.acceleo.gen.template.TemplateSyntaxException
public fr.obeo.acceleo.gen.template.eval.ENode select(fr.obeo.acceleo.gen.template.eval.ENode current, java.lang.String call, java.lang.String value) throws fr.obeo.acceleo.gen.template.eval.ENodeException, fr.obeo.acceleo.ecore.factories.FactoryException, fr.obeo.acceleo.gen.template.eval.ENodeCastException, fr.obeo.acceleo.gen.template.TemplateSyntaxException
current
- is the current node of generationcall
- is the expression to applyvalue
- is the value of the elements to keep
fr.obeo.acceleo.gen.template.eval.ENodeException
fr.obeo.acceleo.ecore.factories.FactoryException
fr.obeo.acceleo.gen.template.eval.ENodeCastException
fr.obeo.acceleo.gen.template.TemplateSyntaxException