org.springframework.extensions.webscripts
Class ScriptResourceContent
java.lang.Object
org.springframework.extensions.webscripts.ScriptBase
org.springframework.extensions.webscripts.ScriptResourceContent
- All Implemented Interfaces:
- Serializable
public final class ScriptResourceContent
- extends ScriptBase
- See Also:
- Serialized Form
ScriptResourceContent
public ScriptResourceContent(RequestContext context,
ScriptResource resource,
ResourceContent resourceContent)
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.