Klasse VelocityUtil.VelocityTemplateMerger
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VelocityUtil.VelocityTemplateMerger
- Umschließende Klasse:
VelocityUtil
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the string output.Get the output encoding.Get the output file.org.apache.velocity.VelocityContextGet the Velocity context used by this merger.voidmerge()Merge the Velocity template with the given context.voidsetOutputEncoding(String p_strOutputEncoding) Set the output encoding.voidsetOutputFile(String p_strOutputFile) Set the output file.
-
Methodendetails
-
merge
Merge the Velocity template with the given context.- Löst aus:
Exception- If an error occurred.
-
getVelocityContext
public org.apache.velocity.VelocityContext getVelocityContext()Get the Velocity context used by this merger.- Gibt zurück:
- The Velocity context used by this merger.
-
getOutputFile
Get the output file.- Gibt zurück:
- The output file.
-
setOutputFile
Set the output file.- Parameter:
p_strOutputFile- The output file.
-
getOutputEncoding
Get the output encoding.- Gibt zurück:
- The output encoding.
-
setOutputEncoding
Set the output encoding.- Parameter:
p_strOutputEncoding- The output encoding.
-
getOutput
Get the string output.If this template merger was configured for file output, this method returns
null.- Gibt zurück:
- The string output, or
null.
-