KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > lib > templates > TKEndTag


1 /*
2  * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/lib/templates/TKEndTag.java,v 1.7 2002/01/21 10:36:25 mischa Exp $
3  *
4  */

5 /**
6  *
7  *
8  * Aufbau: name="TK_CLASSNAME[par_name;class_name:class_value;...]" value="..."
9  * ------------ ----------
10  * primaere Klasse Sekundaere Klasse
11  *
12  * Bsp: name="TK_EV[THE_EVENT;QOR:0.8_0.5]" value="..."
13  */

14 package com.teamkonzept.lib.templates;
15
16 import java.io.*;
17
18 import com.teamkonzept.lib.*;
19
20 /**
21  * Ein TKEndTag wird aus dem Template gefiltert
22  * @author $Author: mischa $
23  * @version $Revision: 1.7 $
24  */

25 public class TKEndTag extends TKTag {
26     public String JavaDoc type;
27     public String JavaDoc info;
28     public boolean hasSubTags;
29     static final int TAG_TYPE = 0;
30     /*******************************************************************
31     /**
32      * Konstruktor 1
33      * Ein Syntaxbaum fuer ein Template wird erzeugt.
34      * Das aktuelle Tag besitzt zwei Attribute, welche gesetzt wird.
35      *
36      * @param String type, zu welchem Tag gehoert das aktuelle End-Tag
37      * @param String info, das info zum Tag (z.b: CASE:XXX => info == XXX)
38      */

39     public TKEndTag( TKTemplateSyntax parent, String JavaDoc type, String JavaDoc info, boolean hasSubTags )
40     {
41         super( parent );
42         this.type = type;
43         this.info = info;
44         this.hasSubTags = hasSubTags;
45         //TKLogFile.println( "++++++++++++++got TKEndTag:"+type+":"+info );
46
}
47     
48     /*******************************************************************
49     /**
50      * Die Methode Apply
51      * @return null
52      */

53     public String JavaDoc apply( TKTemplateData td ) throws TKTemplateSyntaxException
54     {
55         return null;
56     }
57
58     public void apply(TKTemplateData td, Writer writer)
59         throws TKTemplateSyntaxException, IOException
60     {
61     }
62
63     public String JavaDoc getIdentifier() { return ""; }
64
65 }
66
67
Popular Tags