KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > loader > StatusDescriptor


1 package com.opensymphony.workflow.loader;
2
3 import java.io.PrintWriter JavaDoc;
4
5 import org.w3c.dom.Element JavaDoc;
6
7 /**
8  * @author Hani Suleiman (hani@formicary.net)
9  * Date: Dec 5 2003
10  * Time: 11:01:35 PM
11  */

12 public class StatusDescriptor extends AbstractDescriptor
13 {
14   private String JavaDoc name;
15
16   public StatusDescriptor(Element JavaDoc status)
17   {
18     name = status.getAttribute("name");
19   }
20
21   public String JavaDoc getName()
22   {
23     return name;
24   }
25
26   public void setName(String JavaDoc name)
27   {
28     this.name = name;
29   }
30
31   public void writeXML(PrintWriter JavaDoc writer, int indent)
32   {
33     throw new UnsupportedOperationException JavaDoc();
34   }
35 }
36
Popular Tags