org.springframework.extensions.webscripts
Class ScriptResource

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

public final class ScriptResource
extends ScriptBase

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.extensions.webscripts.ScriptBase
context, properties
 
Constructor Summary
ScriptResource(RequestContext context, Resource resource)
           
 
Method Summary
protected  ScriptableMap<String,Serializable> buildProperties()
           
 ScriptResourceContent getContent()
           
 String getContentUrl()
           
 String getEndpointId()
           
 String getId()
           
 boolean getIsContainer()
           
 ScriptResourceContent getMetadata()
           
 String getMetadataUrl()
           
 String getName()
           
 String getObjectId()
           
 String getObjectTypeId()
           
 String getProtocolId()
           
 
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

ScriptResource

public ScriptResource(RequestContext context,
                      Resource resource)
Method Detail

buildProperties

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

getId

public String getId()

getProtocolId

public String getProtocolId()

getEndpointId

public String getEndpointId()

getObjectId

public String getObjectId()

getObjectTypeId

public String getObjectTypeId()

getName

public String getName()

getContent

public ScriptResourceContent getContent()

getContentUrl

public String getContentUrl()

getMetadata

public ScriptResourceContent getMetadata()

getMetadataUrl

public String getMetadataUrl()

getIsContainer

public boolean getIsContainer()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.