01: package com.opensymphony.workflow.loader;
02:
03: import java.io.PrintWriter;
04:
05: import org.w3c.dom.Element;
06:
07: /**
08: * @author Hani Suleiman (hani@formicary.net)
09: * Date: Dec 5 2003
10: * Time: 11:01:35 PM
11: */
12: public class StatusDescriptor extends AbstractDescriptor {
13: private String name;
14:
15: public StatusDescriptor(Element status) {
16: name = status.getAttribute("name");
17: }
18:
19: public String getName() {
20: return name;
21: }
22:
23: public void setName(String name) {
24: this .name = name;
25: }
26:
27: public void writeXML(PrintWriter writer, int indent) {
28: throw new UnsupportedOperationException();
29: }
30: }
|