01: package net.sourceforge.jaxor.parser;
02:
03: /*
04: * User: Mike
05: * Date: Oct 28, 2002
06: * Time: 7:12:06 PM
07: */
08:
09: public class Set {
10: private String _body = "";
11: private String _var = "param";
12: private MethodModifier _modifier = MethodModifier.PUBLIC;
13: private Javadoc _javadoc = null;
14:
15: public void addCharacterData(String s) {
16: _body += s;
17: }
18:
19: public void setModifier(String value) {
20: _modifier = new MethodModifier(value);
21: }
22:
23: public MethodModifier getModifier() {
24: return _modifier;
25: }
26:
27: public Javadoc getJavadoc() {
28: return _javadoc;
29: }
30:
31: public void addJavadoc(Javadoc doc) {
32: _javadoc = doc;
33: }
34:
35: public String getBody() {
36: return _body;
37: }
38:
39: public void setVar(String v) {
40: _var = v;
41: }
42:
43: public String getVar() {
44: return _var;
45: }
46:
47: }
|