public class StringTextTemplate
extends org.apache.wicket.util.template.TextTemplate
TextTemplate that is build from a String.| Constructor and Description |
|---|
StringTextTemplate(String content)
Creates a new instance of a
StringTextTemplate. |
StringTextTemplate(String content,
String contentType,
String encoding)
Creates a new instance of a
StringTextTemplate. |
| Modifier and Type | Method and Description |
|---|---|
String |
getString() |
org.apache.wicket.util.template.TextTemplate |
interpolate(Map<String,?> variables) |
close, getCharset, getContentType, getInputStream, lastModifiedTime, length, setCharset, setLastModifiedgetLocale, getStyle, getVariation, setLocale, setStyle, setVariationpublic StringTextTemplate(String content)
StringTextTemplate.content - The content of the template.public StringTextTemplate(String content, String contentType, String encoding)
StringTextTemplate.content - The content of the template.contentType - The content type.encoding - the file's encodingpublic String getString()
getString in class org.apache.wicket.util.template.TextTemplateCopyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.