01: /*
02: * Copyright (C) 2005 Joe Walnes.
03: * Copyright (C) 2006, 2007 XStream Committers.
04: * All rights reserved.
05: *
06: * The software in this package is published under the terms of the BSD
07: * style license a copy of which has been included with this distribution in
08: * the LICENSE.txt file.
09: *
10: * Created on 16. September 2005 by Mauro Talevi
11: */
12: package com.thoughtworks.xstream.annotations;
13:
14: import java.lang.annotation.Documented;
15: import java.lang.annotation.ElementType;
16: import java.lang.annotation.Retention;
17: import java.lang.annotation.RetentionPolicy;
18: import java.lang.annotation.Target;
19:
20: import com.thoughtworks.xstream.converters.Converter;
21:
22: /**
23: *
24: * @author Chung-Onn Cheong
25: */
26: @Retention(RetentionPolicy.RUNTIME)
27: @Target({ElementType.TYPE,ElementType.FIELD})
28: @Documented
29: public @interface XStreamConverter {
30: Class<? extends Converter> value();
31: }
|