01: /*
02: * Project: BeautyJ - Customizable Java Source Code Transformer
03: * Class: de.gulden.util.javasource.Implementation
04: * Version: 1.0
05: *
06: * Date: 2002-10-27
07: *
08: * Note: Contains auto-generated Javadoc comments created by BeautyJ.
09: *
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 raw;
38:
39: // ------------------------------------------------------------------------
40: // --- methods ---
41: // ------------------------------------------------------------------------
42: /**
43: * Returns the raw code string.
44: */
45: public String getRaw() {
46: return raw;
47: }
48:
49: /**
50: * Sets the raw code string.
51: */
52: public void setRaw(String s) {
53: raw = s;
54: }
55:
56: /**
57: * Output this object as XML.
58: *
59: * @return The XML tag.
60: * @see #initFromXML
61: */
62: public Element buildXML(Document d) {
63: return super .buildXML(d); // no own action
64: }
65:
66: /**
67: * Initialize this object from parsed Java code.
68: *
69: * @param rootnode The corresponding node in the abstract syntax tree (AST).
70: */
71: void initFromAST(Node rootnode) {
72: // no own action
73: }
74:
75: } // end Implementation
|