01: package org.enhydra.shark.xpdl;
02:
03: /**
04: * Helper class to allow an empty choice that will not write
05: * anything to XML.
06: *
07: * @author Sasa Bojanic
08: */
09: public final class XMLEmptyChoiceElement extends XMLComplexElement {
10:
11: public XMLEmptyChoiceElement(XMLElement parent) {
12: super (parent, false);
13: }
14:
15: protected void fillStructure() {
16: }
17:
18: public void setValue(String val) {
19: this .value = val;
20: }
21:
22: // public String toValue() {
23: // return "";
24: // }
25:
26: public String toName() {
27: return "";
28: }
29: }
|