|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.template.compiler.TemplateArrayList
public final class TemplateArrayList
Encapsulates an array of TemplateProcessor
objects.
At run time, the contents of each item are processed in order.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface freemarker.template.TemplateProcessor |
---|
TemplateProcessor.ExitStatus |
Constructor Summary | |
---|---|
TemplateArrayList(java.util.List<TemplateProcessor> processorList)
Create a new TemplateArrayList , given a list of
TemplateProcessor s to build the internal
data structure. |
Method Summary | |
---|---|
TemplateProcessor.ExitStatus |
process(TemplateProcessorParameters p)
Processes the contents of the internal TemplateProcessor list, and outputs the
resulting text to a Writer . |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplateArrayList(java.util.List<TemplateProcessor> processorList)
TemplateArrayList
, given a list of
TemplateProcessor
s to build the internal
data structure.
processorList
- a List
of TemplateProcessor
objects to be added to the internal list.
java.lang.NullPointerException
- processorList is nullMethod Detail |
---|
public TemplateProcessor.ExitStatus process(TemplateProcessorParameters p) throws java.io.IOException
TemplateProcessor
list, and outputs the
resulting text to a Writer
.
process
in interface TemplateProcessor
p
- template processing parameters
java.io.IOException
- an IO error occurred during processingpublic java.lang.String toString()
toString
in class java.lang.Object
String
representation of the object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |