com.googlecode.wicket.jquery.ui.kendo
Class KendoResourceStream

java.lang.Object
  extended by org.apache.wicket.util.resource.AbstractResourceStream
      extended by org.apache.wicket.util.resource.AbstractStringResourceStream
          extended by com.googlecode.wicket.jquery.ui.template.JQueryResourceStream
              extended by com.googlecode.wicket.jquery.ui.kendo.KendoResourceStream
All Implemented Interfaces:
Closeable, Serializable, org.apache.wicket.IClusterable, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.resource.IStringResourceStream, org.apache.wicket.util.watch.IModifiable

public class KendoResourceStream
extends JQueryResourceStream

Provides the resource stream for Kendo-UI templates. The JQueryResourceStream.getString() method returns a script block like <script id="jquery-template-123456" type="text/x-kendo-template" />

Author:
Sebastien Briquet - sebfz1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.util.resource.AbstractStringResourceStream
DEFAULT_CONTENT_TYPE
 
Constructor Summary
KendoResourceStream(String content, String token)
          Constructor
 
Method Summary
 String getContentType()
           
 
Methods inherited from class com.googlecode.wicket.jquery.ui.template.JQueryResourceStream
getString
 
Methods inherited from class org.apache.wicket.util.resource.AbstractStringResourceStream
asString, close, getCharset, getInputStream, lastModifiedTime, length, setCharset, setLastModified
 
Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream
getLocale, getStyle, getVariation, setLocale, setStyle, setVariation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wicket.util.resource.IResourceStream
getLocale, getStyle, getVariation, setLocale, setStyle, setVariation
 

Constructor Detail

KendoResourceStream

public KendoResourceStream(String content,
                           String token)
Constructor

Parameters:
content - the content inside the <script /> block
token - the unique resource-stream token that acts as the script id.
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.wicket.util.resource.IResourceStream
Overrides:
getContentType in class JQueryResourceStream


Copyright © 2013 7thWeb. All Rights Reserved.