Example usage for Java org.springframework.oxm.xstream XStreamMarshaller fields, constructors, methods, implement or subclass
The text is from its open source code.
XStream | getXStream() Return the native XStream delegate used by this marshaller. |
void | marshal(Object graph, Result result) Marshals the object graph with the given root into the provided javax.xml.transform.Result . |
void | setAliases(Map Set the alias/type map, consisting of string aliases mapped to classes. |
void | setAliasesByType(Map Set the aliases by type map, consisting of string aliases mapped to classes. |
void | setAutodetectAnnotations(boolean autodetectAnnotations) Activate XStream's autodetection mode. |
void | setConverters(ConverterMatcher... converters) Set the Converters or SingleValueConverters to be registered with the XStream instance. |
void | setImplicitCollections(Map Specify implicit collection fields, as a Map consisting of Class instances mapped to comma separated collection field names. |
void | setStreamDriver(HierarchicalStreamDriver streamDriver) Set a XStream HierarchicalStreamDriver to be used for readers and writers. |
void | setUseAttributeFor(Map, ?> useAttributeFor) Set the types to use XML attributes for. |
Object | unmarshal(Source source) Unmarshals the given provided javax.xml.transform.Source into an object graph. |