1 4 package com.openedit.config; 5 6 import java.io.Serializable ; 7 import java.util.Iterator ; 8 import java.util.List ; 9 10 14 public interface Configuration extends Serializable 15 { 16 17 21 public List getChildren(String inString); 22 23 public Configuration getParent(); 24 28 public String getAttribute(String inString) 29 ; 30 31 public void setAttribute(String inKey, String inValue); 32 33 Configuration addChild(String inChild); 34 Configuration addChild(Configuration inChild); 35 36 public String getValue(); 37 void setValue(String inValue); 39 43 public Configuration getChild(String inString); 44 45 48 public String getName(); 49 50 53 public List getChildren(); 54 58 public String getChildValue(String inString); 59 63 public List getAttributeNames(); 64 65 public void removeChild(Configuration inConfig); 66 67 public Iterator getChildIterator(String inName); 68 69 72 public void setParent(Configuration inConfiguration); 73 } 74 | Popular Tags |