org.springframework.extensions.webscripts
Class ScriptResourceContent

java.lang.Object
  extended by org.springframework.extensions.webscripts.ScriptBase
      extended by org.springframework.extensions.webscripts.ScriptResourceContent
All Implemented Interfaces:
Serializable

public final class ScriptResourceContent
extends ScriptBase

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.extensions.webscripts.ScriptBase
context, properties
 
Constructor Summary
ScriptResourceContent(RequestContext context, ScriptResource resource, ResourceContent resourceContent)
           
 
Method Summary
protected  ScriptableMap<String,Serializable> buildProperties()
           
 byte[] getBytes()
           
 String getJson()
           
 ScriptResource getResource()
           
 String getString()
           
 long getTimestamp()
           
 String getXml()
           
 freemarker.ext.dom.NodeModel getXmlNodeModel()
           
 
Methods inherited from class org.springframework.extensions.webscripts.ScriptBase
getConfig, getModel, getObject, getProperties, getRequestContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptResourceContent

public ScriptResourceContent(RequestContext context,
                             ScriptResource resource,
                             ResourceContent resourceContent)
Method Detail

buildProperties

protected ScriptableMap<String,Serializable> buildProperties()
Specified by:
buildProperties in class ScriptBase

getBytes

public byte[] getBytes()

getResource

public ScriptResource getResource()

getTimestamp

public long getTimestamp()

getString

public String getString()

getXml

public String getXml()

getXmlNodeModel

public freemarker.ext.dom.NodeModel getXmlNodeModel()

getJson

public String getJson()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.