KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > gulden > util > javasource > Implementation


1 /*
2  * Project: BeautyJ - Customizable Java Source Code Transformer
3  * Class: de.gulden.util.javasource.Implementation
4  * Version: 1.0
5  *
6  * Date: 2002-10-27
7  *
8  * Note: Contains auto-generated Javadoc comments created by BeautyJ.
9  *
10  * This is licensed under the GNU General Public License (GPL)
11  * and comes with NO WARRANTY. See file license.txt for details.
12  *
13  * Author: Jens Gulden
14  * Email: beautyj@jensgulden.de
15  */

16
17 package de.gulden.util.javasource;
18
19 import org.w3c.dom.*;
20 import de.gulden.util.javasource.jjt.Node;
21 import java.util.*;
22
23 /**
24  * Class Implementation.
25  *
26  * @author Jens Gulden
27  * @version 1.0
28  */

29 public abstract class Implementation extends SourceObject {
30
31     // ------------------------------------------------------------------------
32
// --- field ---
33
// ------------------------------------------------------------------------
34
/**
35      * The raw.
36      */

37     protected String JavaDoc raw;
38
39
40     // ------------------------------------------------------------------------
41
// --- methods ---
42
// ------------------------------------------------------------------------
43
/**
44      * Returns the raw code string.
45      */

46     public String JavaDoc getRaw() {
47         return raw;
48     }
49
50     /**
51      * Sets the raw code string.
52      */

53     public void setRaw(String JavaDoc s) {
54         raw=s;
55     }
56
57     /**
58      * Output this object as XML.
59      *
60      * @return The XML tag.
61      * @see #initFromXML
62      */

63     public Element buildXML(Document d) {
64         return super.buildXML(d); // no own action
65
}
66
67     /**
68      * Initialize this object from parsed Java code.
69      *
70      * @param rootnode The corresponding node in the abstract syntax tree (AST).
71      */

72     void initFromAST(Node rootnode) {
73         // no own action
74
}
75
76 } // end Implementation
77
Popular Tags