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