Class NodeContentGet

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class NodeContentGet
    extends StreamContent
    A web service to return the text content (transformed if required) of a node's content property.
    Since:
    4.0
    • Constructor Detail

      • NodeContentGet

        public NodeContentGet()
    • Method Detail

      • setNodeDAO

        public void setNodeDAO​(NodeDAO nodeDAO)
      • setContentService

        public void setContentService​(ContentService contentService)
      • setTransformerDebug

        public void setTransformerDebug​(TransformerDebug transformerDebug)
        Setter of the transformer debug.
        Parameters:
        transformerDebug - TransformerDebug
      • execute

        public void execute​(org.springframework.extensions.webscripts.WebScriptRequest req,
                            org.springframework.extensions.webscripts.WebScriptResponse res)
                     throws IOException
        Specified by:
        execute in interface org.springframework.extensions.webscripts.WebScript
        Overrides:
        execute in class StreamContent
        Parameters:
        req - WebScriptRequest
        res - WebScriptResponse
        Throws:
        IOException
        See Also:
        WebScript.execute(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.WebScriptResponse)