|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.oxm.AbstractMarshaller
org.springframework.oxm.xstream.XStreamMarshaller
org.springframework.oxm.xstream.AnnotationXStreamMarshaller
public class AnnotationXStreamMarshaller
Subclass of the XStreamMarshaller that supports JDK 1.5+ annotation metadata for aliases.
XStreamAlias| Field Summary |
|---|
| Fields inherited from class org.springframework.oxm.xstream.XStreamMarshaller |
|---|
DEFAULT_ENCODING |
| Fields inherited from class org.springframework.oxm.AbstractMarshaller |
|---|
logger |
| Constructor Summary | |
|---|---|
AnnotationXStreamMarshaller()
|
|
| Method Summary | |
|---|---|
void |
setAnnotatedClass(java.lang.Class<?> annotatedClass)
Sets the classes, for which mappings will be read from class-level JDK 1.5+ annotation metadata. |
void |
setAnnotatedClasses(java.lang.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 |
| Constructor Detail |
|---|
public AnnotationXStreamMarshaller()
| Method Detail |
|---|
public void setAnnotatedClass(java.lang.Class<?> annotatedClass)
Annotations.configureAliases(XStream, Class[])public void setAnnotatedClasses(java.lang.Class<?>[] annotatedClasses)
Annotations.configureAliases(XStream, Class[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||