01: /*
02: * Copyright (C) 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 06. May 2005 by Guilherme Silveira
10: */
11: package com.thoughtworks.xstream.annotations;
12:
13: import java.lang.annotation.Retention;
14: import java.lang.annotation.RetentionPolicy;
15: import java.lang.annotation.Target;
16: import java.lang.annotation.ElementType;
17:
18: /**
19: * Declares a field to be omitted. The result is the same as invoking the method
20: * omitField in a XStream instance.
21: *
22: * @author Chung-Onn Cheong
23: * @author Guilherme Silveira
24: * @since 1.2.2
25: */
26: @Retention(RetentionPolicy.RUNTIME)
27: @Target(ElementType.FIELD)
28: public @interface XStreamOmitField {
29: }
|