Package | Description |
---|---|
net.shibboleth.utilities.java.support.velocity |
Classes for working with Apache Velocity.
|
Modifier and Type | Method and Description |
---|---|
static Template |
Template.fromTemplate(org.apache.velocity.app.VelocityEngine engine,
String template)
A convenience method that invoked
fromTemplate(VelocityEngine, String, Charset) and assumes the given
template is US ASCII encoded. |
static Template |
Template.fromTemplate(org.apache.velocity.app.VelocityEngine engine,
String template,
Charset encoding)
Constructs a
Template from a given template. |
static Template |
Template.fromTemplateName(org.apache.velocity.app.VelocityEngine engine,
String templateName)
A convenience method that invoked
fromTemplateName(VelocityEngine, String, Charset) and assumes the
named template is US ASCII encoded. |
static Template |
Template.fromTemplateName(org.apache.velocity.app.VelocityEngine engine,
String name,
Charset encoding)
Constructs a
Template that evaluates a named velocity template with a using the given velocity engine. |
Copyright © 1999–2018. All rights reserved.