01: /*
02: * Copyright (C) 2006, 2007 XStream Committers.
03: * All rights reserved.
04: *
05: * The software in this package is published under the terms of the BSD
06: * style license a copy of which has been included with this distribution in
07: * the LICENSE.txt file.
08: *
09: * Created on 01. December 2006 by Joerg Schaible
10: */
11: package com.thoughtworks.xstream.annotations;
12:
13: import java.lang.annotation.ElementType;
14: import java.lang.annotation.Retention;
15: import java.lang.annotation.RetentionPolicy;
16: import java.lang.annotation.Target;
17:
18: /**
19: * An annotation for marking a field as an implicit collection.
20: *
21: * @author Lucio Benfante
22: * @since 1.2.2
23: */
24: @Retention(RetentionPolicy.RUNTIME)
25: @Target(ElementType.FIELD)
26: public @interface XStreamImplicit {
27: /**
28: * Element name of the implicit collection
29: */
30: String itemFieldName() default "";
31: }
|