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.site.content.admin
Class AbstractBasicContentEditorResult

java.lang.Object
  extended by org.torweg.pulse.site.content.admin.AbstractBasicContentEditorResult
All Implemented Interfaces:
JDOMable, Result

public class AbstractBasicContentEditorResult
extends java.lang.Object
implements Result

the result for the AbstractBasicContentEditor.

Version:
$Revision: 1425 $
Author:
Daniel Dietz

Constructor Summary
AbstractBasicContentEditorResult()
           
 
Method Summary
 void addAttribute(java.lang.String attributeName, java.lang.String attributeValue)
          adds a attribute to the root-container of this result.
 void addContent(org.jdom.Content jDomContent)
          adds a Content of this result.
 void addTimeZones()
          Flag indicating whether to de-serialise time-zones for the result.
 org.jdom.Element deserializeToJDOM()
          this will deserialize the state of the JDOMable as a JDOM Element.
 void setAttachment(Attachment att)
          sets the Attachement for the result.
 void setContent(AbstractBasicContent c)
          sets the content of the result.
 void setMode(int i)
          sets the mode for the result.
 void setVariant(AbstractBasicVariant<?> v)
          sets the variant of the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBasicContentEditorResult

public AbstractBasicContentEditorResult()
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
Description copied from interface: JDOMable
this will deserialize the state of the JDOMable as a JDOM Element.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
the result as Element.
See Also:
JDOMable.deserializeToJDOM()

setContent

public final void setContent(AbstractBasicContent c)
sets the content of the result.

Parameters:
c - the AbstractBasicContent to be set

setVariant

public final void setVariant(AbstractBasicVariant<?> v)
sets the variant of the result.

Parameters:
v - the AbstractBasicVariant to be set

addAttribute

public final void addAttribute(java.lang.String attributeName,
                               java.lang.String attributeValue)
adds a attribute to the root-container of this result.

Parameters:
attributeName - the name of the attribute
attributeValue - the value of the attribute

addContent

public final void addContent(org.jdom.Content jDomContent)
adds a Content of this result.

Parameters:
jDomContent - the Content to add

setMode

public final void setMode(int i)
sets the mode for the result.

Parameters:
i - the mode to set

setAttachment

public final void setAttachment(Attachment att)
sets the Attachement for the result.

Parameters:
att - the Attachment to set

addTimeZones

public final void addTimeZones()
Flag indicating whether to de-serialise time-zones for the result.