diff options
Diffstat (limited to 'src/com/isode/stroke/elements/Body.java')
-rw-r--r-- | src/com/isode/stroke/elements/Body.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/Body.java b/src/com/isode/stroke/elements/Body.java new file mode 100644 index 0000000..3cda307 --- /dev/null +++ b/src/com/isode/stroke/elements/Body.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2010, Isode Limited, London, England. + * All rights reserved. + */ +/* + * Copyright (c) 2010, Remko Tron¨on. + * All rights reserved. + */ + +package com.isode.stroke.elements; + +public class Body extends Payload { + String text_ = ""; + + public Body() {} + + public Body(String text) { + setText(text); + } + + public void setText(String text) { + text_ = text; + } + + public String getText() { + return text_; + } +} |