org.mvel2.templates.res
Class CompiledIncludeNode
java.lang.Object
org.mvel2.templates.res.Node
org.mvel2.templates.res.CompiledIncludeNode
- All Implemented Interfaces:
- Serializable
public class CompiledIncludeNode
- extends Node
- See Also:
- Serialized Form
Methods inherited from class org.mvel2.templates.res.Node |
calculateContents, getBegin, getCEnd, getContents, getCStart, getEnd, getLength, getName, getNext, getTerminus, isOpenNode, setBegin, setCEnd, setContents, setCStart, setEnd, setName, setNext, setTerminus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiledIncludeNode
public CompiledIncludeNode(int begin,
String name,
char[] template,
int start,
int end)
eval
public Object eval(TemplateRuntime runtime,
TemplateOutputStream appender,
Object ctx,
VariableResolverFactory factory)
- Specified by:
eval
in class Node
demarcate
public boolean demarcate(Node terminatingNode,
char[] template)
- Specified by:
demarcate
in class Node
pop
public static Object pop()
getFile
public static File getFile(String fileName)
readInFile
public static String readInFile(File file)
Copyright © 2011. All Rights Reserved.