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: * 28.12.2007
13: * @author www.gerdziegler.de
14: */
15: package org.ztemplates.test.render.inheritance;
16:
17: import org.ztemplates.render.ZExpose;
18: import org.ztemplates.render.ZRenderer;
19: import org.ztemplates.render.velocity.ZVelocityRenderer;
20:
21: @ZRenderer(ZVelocityRenderer.class)
22: public class BaseClass {
23: private String prop1 = "val1";
24:
25: @ZExpose
26: public String getProp1() {
27: return prop1;
28: }
29: }
|