|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.action.ActionResult
This class represents the result of a performed Action. An ActionResult consists of an XML representation and additional properties carried in a Hashtable
Action
Constructor Summary | |
ActionResult()
Creates a new instance of ActionResult |
|
ActionResult(javax.xml.transform.Source source,
java.util.Hashtable parameters)
creates an ActionResult with the given values |
|
ActionResult(javax.xml.transform.Source source,
java.util.Hashtable parameters,
java.lang.String styleSheet)
creates an ActionResult with the given values |
|
ActionResult(java.lang.String xml,
java.util.Hashtable parameters)
Creates an instance of ActionResult with the given properties |
|
ActionResult(java.lang.String xml,
java.util.Hashtable parameters,
java.lang.String styleSheet)
creates an ActionResult with the given values |
Method Summary | |
java.util.Hashtable |
getParameters()
returns the parameters of this ActionResult as a Hashtable |
javax.xml.transform.Source |
getSource()
Getter for property source. |
java.lang.String |
getStyleSheet()
returns the name of the stylesheet to be used with this ActionResult, can be used for variable stylesheets (e.g. display the Results in a table overview or in detail) and to overwrite the stylesheet setting of the service |
java.lang.String |
getXml()
Deprecated. use getSource() instead |
void |
setParameters(java.util.Hashtable parameters)
sets the parameters of this ActionResult |
void |
setSource(javax.xml.transform.Source source)
Setter for property source. |
void |
setStyleSheet(java.lang.String styleSheet)
sets the name of the stylesheet to be used with this ActionResult |
void |
setXml(java.lang.String xml)
convenience method for setting the ActionResult's XML data with an StreamSource using the given String as input |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionResult()
public ActionResult(java.lang.String xml, java.util.Hashtable parameters)
xml
- a XML-Source representing the ActionResultparameters
- the additional parameters of the ActionResult
as a HashtablestyleSheetKey
- key to lookup stylesheet for transformationpublic ActionResult(java.lang.String xml, java.util.Hashtable parameters, java.lang.String styleSheet)
public ActionResult(javax.xml.transform.Source source, java.util.Hashtable parameters)
public ActionResult(javax.xml.transform.Source source, java.util.Hashtable parameters, java.lang.String styleSheet)
Method Detail |
public void setXml(java.lang.String xml)
public java.lang.String getXml()
public java.util.Hashtable getParameters()
public void setParameters(java.util.Hashtable parameters)
public javax.xml.transform.Source getSource()
public void setSource(javax.xml.transform.Source source)
source
- New value of property source.public java.lang.String getStyleSheet()
de.spieleck.pcs.http.Service
,
View
public void setStyleSheet(java.lang.String styleSheet)
styleSheet
- New value of property styleSheet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |