01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: Mapping.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.annotations;
09:
10: import java.lang.annotation.Documented;
11: import java.lang.annotation.Retention;
12: import java.lang.annotation.RetentionPolicy;
13: import java.lang.annotation.Target;
14:
15: /**
16: * Defines the input mapping of a pathinfo declaration.
17: * <p>The format of the mapping is explained in the
18: * <a href="http://rifers.org/wiki/display/RIFE/Pathinfo+mapping+for+element+inputs">cook book</a>.
19: * <p>Any inputs that are referenced in the mapping definition are
20: * automatically declared if they don't exist yet.
21: *
22: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
23: * @version $Revision: 3634 $
24: * @since 1.5
25: */
26: @Retention(RetentionPolicy.RUNTIME)
27: @Target({})
28: @Documented
29: public @interface Mapping {
30: /**
31: * The mapping definition.
32: * @since 1.5
33: */
34: String value();
35: }
|