|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.payload.FilterResult
org.milyn.payload.JavaResult
public class JavaResult
Java filtration/transformation result.
Used to extract a Java "result" Map from the transformation.
Simply set an instance of this class as the Result arg in the call
to Smooks.filter(javax.xml.transform.Source,javax.xml.transform.Result,org.milyn.container.ExecutionContext).
| Field Summary |
|---|
| Fields inherited from interface javax.xml.transform.Result |
|---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
|---|---|
JavaResult()
Public default constructor. |
|
JavaResult(boolean preserveOrder)
Public default constructor. |
|
JavaResult(Map<String,Object> resultMap)
Public constructor. |
|
| Method Summary | |
|---|---|
Object |
getBean(String name)
Get the named bean from the Java Result Map. |
Map<String,Object> |
getResultMap()
Get the Java result map. |
void |
setResultMap(Map<String,Object> resultMap)
Set the Java result map. |
String |
toString()
XML Serialized form of the bean Map associate with the result instance. |
| Methods inherited from class org.milyn.payload.FilterResult |
|---|
getResult, getSystemId, setResult, setSystemId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaResult()
public JavaResult(boolean preserveOrder)
public JavaResult(Map<String,Object> resultMap)
setResultMap(java.util.Map).
resultMap - Result Map. This is the map onto which Java "result" objects will be set.| Method Detail |
|---|
public Object getBean(String name)
name - the name of the bean.
getResultMap()public Map<String,Object> getResultMap()
getBean(String)public void setResultMap(Map<String,Object> resultMap)
resultMap - The Java result map.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||