wicket.extensions.util.resource
Class CssTemplate
java.lang.Object
wicket.util.resource.AbstractResourceStream
wicket.util.resource.AbstractStringResourceStream
wicket.extensions.util.resource.TextTemplate
wicket.extensions.util.resource.TextTemplateDecorator
wicket.extensions.util.resource.CssTemplate
- All Implemented Interfaces:
- wicket.util.watch.IModifiable, wicket.util.resource.IResourceStream, wicket.util.resource.IStringResourceStream, java.io.Serializable
- public final class CssTemplate
- extends TextTemplateDecorator
Decorates the template with CSS tags.
- Author:
- Eelco Hillenius
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getAfterTemplateContents()
Gets the string to put after the actual template contents, e.g. |
java.lang.String |
getBeforeTemplateContents()
Gets the string to put before the actual template contents, e.g. |
TextTemplate |
interpolate(java.util.Map variables)
This class decorates another text template class and so does not allow
interpolation. |
| Methods inherited from class wicket.extensions.util.resource.TextTemplateDecorator |
asString, asString, close, equals, getContentType, getInputStream, getLocale, getString, hashCode, lastModifiedTime, length, setCharset, setLastModified, setLocale, toString |
| Methods inherited from class wicket.util.resource.AbstractResourceStream |
getCharset |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CssTemplate
public CssTemplate(TextTemplate textTemplate)
- Construct.
- Parameters:
textTemplate - The template to decorate
getBeforeTemplateContents
public java.lang.String getBeforeTemplateContents()
- Description copied from class:
TextTemplateDecorator
- Gets the string to put before the actual template contents, e.g.
<script type="text/javascript">
- Specified by:
getBeforeTemplateContents in class TextTemplateDecorator
- Returns:
- The string to put before the actual template contents
- See Also:
TextTemplateDecorator.getBeforeTemplateContents()
getAfterTemplateContents
public java.lang.String getAfterTemplateContents()
- Description copied from class:
TextTemplateDecorator
- Gets the string to put after the actual template contents, e.g.
</script>
- Specified by:
getAfterTemplateContents in class TextTemplateDecorator
- Returns:
- The string to put after the actual template contents
- See Also:
TextTemplateDecorator.getAfterTemplateContents()
interpolate
public TextTemplate interpolate(java.util.Map variables)
- This class decorates another text template class and so does not allow
interpolation.
- Specified by:
interpolate in class TextTemplate
- Parameters:
variables - Ignored
- Returns:
- This for chaining
Copyright © 2004-2008 Wicket developers. All Rights Reserved.