KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > config > Configuration


1 /*
2  * Created on Oct 26, 2004
3  */

4 package com.openedit.config;
5
6 import java.io.Serializable JavaDoc;
7 import java.util.Iterator JavaDoc;
8 import java.util.List JavaDoc;
9
10 /**
11  * @author cburkey
12  *
13  */

14 public interface Configuration extends Serializable JavaDoc
15 {
16
17     /**
18      * @param inString
19      * @return
20      */

21     public List JavaDoc getChildren(String JavaDoc inString);
22     
23     public Configuration getParent();
24     /**
25      * @param inString
26      * @return
27      */

28     public String JavaDoc getAttribute(String JavaDoc inString)
29     ;
30
31     public void setAttribute(String JavaDoc inKey, String JavaDoc inValue);
32     
33     Configuration addChild(String JavaDoc inChild);
34     Configuration addChild(Configuration inChild);
35
36     public String JavaDoc getValue();
37 //
38
void setValue(String JavaDoc inValue);
39     /**
40      * @param inString
41      * @return
42      */

43     public Configuration getChild(String JavaDoc inString);
44
45     /**
46      * @return
47      */

48     public String JavaDoc getName();
49
50     /**
51      * @return
52      */

53     public List JavaDoc getChildren();
54     /**
55      * @param inString
56      * @return
57      */

58     public String JavaDoc getChildValue(String JavaDoc inString);
59     /**
60      * @param inArg0
61      * @return
62      */

63     public List JavaDoc getAttributeNames();
64
65     public void removeChild(Configuration inConfig);
66     
67     public Iterator JavaDoc getChildIterator(String JavaDoc inName);
68
69     /**
70      * @param inConfiguration
71      */

72     public void setParent(Configuration inConfiguration);
73 }
74
Popular Tags