1 package org.sapia.archie; 2 3 import java.util.Iterator ; 4 5 6 18 public interface Node { 19 25 public Object getValue(NamePart name); 26 27 34 public Object removeValue(NamePart name); 35 36 48 public boolean putValue(NamePart name, Object value, boolean overwrite); 49 50 55 public Iterator getValueNames(); 56 57 62 public int getValueCount(); 63 64 71 public void setUp(Node parent, NamePart nodeName); 72 73 78 public Name getAbsolutePath(); 79 80 85 public Node getParent(); 86 87 92 public NamePart getName(); 93 94 101 public Node createChild(NamePart name) 102 throws DuplicateException, ProcessingException; 103 104 113 public Node getChild(NamePart name); 114 115 124 public Node removeChild(NamePart name); 125 126 131 public Iterator getChildren(); 132 133 138 public int getChildrenCount(); 139 140 144 public Iterator getEntries(); 145 146 151 public Iterator getChildrenNames(); 152 153 158 public NameParser getNameParser(); 159 } 160 | Popular Tags |