public class TemplateNode extends CompoundNode implements ITemplate
instructionsKIND_ANY, KIND_QUERY, KIND_TEMPLATE| Constructor and Description |
|---|
TemplateNode(String name,
List<ParameterNode> parameters,
String contextType,
String templatePackage,
TemplatesTree.TextSource source,
int offset,
int endoffset) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(EvaluationContext context,
IEvaluationStrategy env,
Object[] arguments) |
IBundleEntity |
getBase()
Returns overridden member
|
String |
getContextType() |
int |
getKind() |
String |
getName() |
String |
getPackage() |
String |
getSignature() |
void |
setBase(IBundleEntity template)
Internal: Used for binding.
|
String |
toString() |
emit, getInstructions, setInstructionsgetEndOffset, getInput, getLine, getLocation, getOffset, getResourceNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEndOffset, getLine, getOffset, getResourceNamepublic TemplateNode(String name, List<ParameterNode> parameters, String contextType, String templatePackage, TemplatesTree.TextSource source, int offset, int endoffset)
public int getKind()
getKind in interface IBundleEntitypublic String getName()
getName in interface IBundleEntitypublic String getContextType()
public String apply(EvaluationContext context, IEvaluationStrategy env, Object[] arguments) throws EvaluationException
apply in interface ITemplateEvaluationExceptionpublic String getPackage()
getPackage in interface IBundleEntitypublic String getSignature()
getSignature in interface IBundleEntitypublic IBundleEntity getBase()
IBundleEntitygetBase in interface IBundleEntitypublic void setBase(IBundleEntity template)
IBundleEntitysetBase in interface IBundleEntityCopyright © 2014. All rights reserved.