01: /*
02: * Copyright 2007 Gerd Ziegler (www.gerdziegler.de)
03: * Licensed under the Apache License, Version 2.0 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at
06: * http://www.apache.org/licenses/LICENSE-2.0
07: * Unless required by applicable law or agreed to in writing,
08: * software distributed under the License is distributed on an
09: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
10: * either express or implied. See the License for the specific
11: * language governing permissions and limitations under the License.
12: * @author www.gerdziegler.de
13: */
14:
15: package org.ztemplates.render;
16:
17: import java.lang.annotation.ElementType;
18: import java.lang.annotation.Inherited;
19: import java.lang.annotation.Retention;
20: import java.lang.annotation.RetentionPolicy;
21: import java.lang.annotation.Target;
22:
23: @Retention(RetentionPolicy.RUNTIME)
24: @Target(ElementType.TYPE)
25: @Inherited
26: public @interface ZTemplate {
27: String value() default "";
28:
29: boolean relative() default false;
30:
31: String mime() default "text/html";
32: }
|