pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site.content
Class CoreContentDisplayerResult

java.lang.Object
  extended by org.torweg.pulse.site.content.ContentResult
      extended by org.torweg.pulse.component.core.site.content.CoreContentDisplayerResult
All Implemented Interfaces:
ExtendedJDOMable, JDOMable, Result

public class CoreContentDisplayerResult
extends ContentResult

The result of the CoreContentDisplayer.

Version:
$Revision: 1455 $
Author:
Daniel Dietz

Constructor Summary
CoreContentDisplayerResult(ContentGroup c, java.util.List<SitemapNode> children, ServiceRequest r)
          creates a new CoreContentDisplayerResult for the given ContentGroup.
CoreContentDisplayerResult(FileContent c, ServiceRequest r)
          creates a new CoreContentDisplayerResult for the given FileContent.
 
Method Summary
 org.jdom.Element deserializeToJDOM(ServiceRequest r)
          returns an extended JDOM representation of the Result encapsuling the Content.
 
Methods inherited from class org.torweg.pulse.site.content.ContentResult
deserializeChildren, deserializeToJDOM, getChildren, getContent, getRequest, setChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreContentDisplayerResult

public CoreContentDisplayerResult(FileContent c, ServiceRequest r)
creates a new CoreContentDisplayerResult for the given FileContent.

Parameters:
c - the FileContent to be displayed
r - the current request

CoreContentDisplayerResult

public CoreContentDisplayerResult(ContentGroup c,
                                  java.util.List<SitemapNode> children, ServiceRequest r)
creates a new CoreContentDisplayerResult for the given ContentGroup.

Parameters:
c - the content group
children - the children
r - the request
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM(ServiceRequest r)
Description copied from class: ContentResult
returns an extended JDOM representation of the Result encapsuling the Content.

Specified by:
deserializeToJDOM in interface ExtendedJDOMable
Overrides:
deserializeToJDOM in class ContentResult
Parameters:
r - the current request
Returns:
a JDOM representation of the result
See Also:
ContentResult.deserializeToJDOM(org.torweg.pulse.service.request.ServiceRequest)