此内容没有您所选择的语言版本。
13.3.6. ObjectToXStream
Input Type | User Object |
Output Type | java.lang.String |
Class | org.jboss.soa.esb.actions.converters.ObjectToXStream |
Takes the Object bound as the Message payload and converts it into XML using the XStream processor. .
Property | Description | Required |
---|---|---|
class-alias |
Class alias used in call to
XStream.alias(String, Class) prior to serialization. Defaults to the input Object's class name.
| No |
exclude-package |
Exclude the package name from the generated XML. Default is
true . Not applicable if a class-alias is specified.
| No |
aliases |
Specify additional aliases in order to help XStream to convert the XML elements into Objects.
| No |
namespaces |
Specify namespaces that should be added to the XML generated by XStream. Each namespace-uri is associated with a local-part which is the element on which this namespace should appear.
| No |
xstream-mode |
Specify the XStream mode to use. Possible values are
XPATH_RELATIVE_REFERENCES (the default), XPATH_ABSOLUTE_REFERENCES , ID_REFERENCES or NO_REFERENCES .
| No |
fieldAliases |
Field aliases to be added to Xstream.
| No |
implicit-collections |
Which will be registered with Xstream
| No |
converters |
List of converters that will be registered with Xstream
| No |
Example 13.5. Sample Configuration