KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > template > TemplateTagHandler


1 /*
2  * Copyright (c) 2001, 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package xdoclet.template;
6
7 import xjavadoc.XJavaDoc;
8
9 /**
10  * @author Ara Abrahamian (ara_e@email.com)
11  * @created Oct 14, 2001
12  * @version $Revision: 1.12 $
13  */

14 public abstract class TemplateTagHandler
15 {
16     private static XJavaDoc _xJavaDoc;
17
18     public static void setXJavaDoc(XJavaDoc xJavaDoc)
19     {
20         if (xJavaDoc == null) {
21             throw new IllegalStateException JavaDoc("xJavaDoc can't be null");
22         }
23         _xJavaDoc = xJavaDoc;
24     }
25
26     protected static XJavaDoc getXJavaDoc()
27     {
28         return _xJavaDoc;
29     }
30
31 }
32
Popular Tags