org.springframework.oxm.xstream
Class AnnotationXStreamMarshaller
java.lang.Object
org.springframework.oxm.AbstractMarshaller
org.springframework.oxm.xstream.XStreamMarshaller
org.springframework.oxm.xstream.AnnotationXStreamMarshaller
- All Implemented Interfaces:
- Marshaller, Unmarshaller
public class AnnotationXStreamMarshaller
- extends XStreamMarshaller
Subclass of the XStreamMarshaller
that supports JDK 1.5+ annotation metadata for aliases.
- Since:
- 1.0.2
- Author:
- Arjen Poutsma
- See Also:
XStreamAlias
Method Summary |
void |
setAnnotatedClass(Class<?> annotatedClass)
Sets the classes, for which mappings will be read from class-level JDK 1.5+ annotation metadata. |
void |
setAnnotatedClasses(Class<?>[] annotatedClasses)
Sets annotated classes, for which aliases will be read from class-level JDK 1.5+ annotation metadata. |
Methods inherited from class org.springframework.oxm.xstream.XStreamMarshaller |
addAlias, addImplicitCollection, addOmittedField, convertXStreamException, getEncoding, getXStream, marshalDomNode, marshalOutputStream, marshalSaxHandlers, marshalWriter, marshalXmlEventWriter, marshalXmlStreamWriter, setAliases, setConverters, setEncoding, setImplicitCollection, setMode, setOmittedFields, setStreamDriver, setSupportedClasses, setUseAttributeFor, setUseAttributeForTypes, supports, unmarshalDomNode, unmarshalInputStream, unmarshalReader, unmarshalSaxReader, unmarshalXmlEventReader, unmarshalXmlStreamReader |
Methods inherited from class org.springframework.oxm.AbstractMarshaller |
createDocumentBuilder, createDocumentBuilderFactory, createXmlReader, marshal, marshalDomResult, marshalSaxResult, marshalStaxResult, marshalStreamResult, unmarshal, unmarshalDomSource, unmarshalSaxSource, unmarshalStaxSource, unmarshalStreamSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationXStreamMarshaller
public AnnotationXStreamMarshaller()
setAnnotatedClass
public void setAnnotatedClass(Class<?> annotatedClass)
- Sets the classes, for which mappings will be read from class-level JDK 1.5+ annotation metadata.
- See Also:
Annotations.configureAliases(XStream, Class[])
setAnnotatedClasses
public void setAnnotatedClasses(Class<?>[] annotatedClasses)
- Sets annotated classes, for which aliases will be read from class-level JDK 1.5+ annotation metadata.
- See Also:
Annotations.configureAliases(XStream, Class[])
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.