@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public @interface XStreamAlias
XStream.alias(String, Class)
,
XStream.alias(String, Class, Class)
,
XStream.addDefaultImplementation(Class, Class)
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The name of the class or field alias.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
impl
A possible default implementation if the annotated type is an interface.
|
Copyright © 2004–2024 XStream. All rights reserved.