public final class ScriptResourceContent extends ScriptBase
context, properties| Constructor and Description |
|---|
ScriptResourceContent(RequestContext context,
ScriptResource resource,
ResourceContent resourceContent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> |
buildProperties() |
String |
getJson() |
ScriptResource |
getResource() |
String |
getString() |
String |
getXml() |
freemarker.ext.dom.NodeModel |
getXmlNodeModel() |
getConfig, getObject, getObjectService, getProperties, getRequestContext, toStringpublic ScriptResourceContent(RequestContext context, ScriptResource resource, ResourceContent resourceContent)
context - RequestContextresource - ScriptResourceresourceContent - ResourceContentprotected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> buildProperties()
buildProperties in class ScriptBasepublic ScriptResource getResource()
public String getString()
public String getXml()
public freemarker.ext.dom.NodeModel getXmlNodeModel()
public String getJson()
Copyright © 2005–2016 Alfresco Software. All rights reserved.