com.thoughtworks.xstream.annotations
Annotation Type XStreamSerializeAs
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface XStreamSerializeAs
Designates that the type and its derived types will serialize
as the specified type. This is useful if you want an entire
family of types serialize as the base type with its special converter.
- Author:
- Kohsuke Kawaguchi
Required Element Summary |
java.lang.Class<?> |
value
Use void.class to cancel out the annotation defined in the super type. |
value
public abstract java.lang.Class<?> value
- Use
void.class
to cancel out the annotation defined in the super type.
Copyright © 2004-2012 XStream. All Rights Reserved.