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 AbstractBasicContentEditorJAXBResult

java.lang.Object
  extended by org.torweg.pulse.site.content.admin.AbstractBasicContentEditorJAXBResult
Direct Known Subclasses:
StoreContentImageGroupEditorResult

public class AbstractBasicContentEditorJAXBResult
extends java.lang.Object

the JAXB-enabled result for the AbstractBasicContentEditor.

Version:
$Revision: 1400 $
Author:
Daniel Dietz

Nested Class Summary
static class AbstractBasicContentEditorJAXBResult.ResultAttribute
          Represents an "attribute" for the result - not to be confused with an attribute in XML.
 
Constructor Summary
AbstractBasicContentEditorJAXBResult()
           
 
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 c)
          Adds a Content for this result.
 AbstractBasicContent getContent()
          Returns the AbstractBasicContent.
 void setContent(AbstractBasicContent c)
          Sets the content of the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBasicContentEditorJAXBResult

public AbstractBasicContentEditorJAXBResult()
Method Detail

setContent

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

Parameters:
c - the AbstractBasicContent to be set

getContent

public final AbstractBasicContent getContent()
Returns the AbstractBasicContent.

Returns:
the AbstractBasicContent

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 c)
Adds a Content for this result.

Parameters:
c - the Content to add