1 17 18 package org.sape.carbon.core.config.node; 19 20 import org.sape.carbon.core.config.node.event.NodeEventListener; 21 22 37 public interface Node { 38 39 40 char DELIMITER = '/'; 41 42 50 String getName(); 51 52 61 String getAbsoluteName(); 62 63 69 boolean getAllowsChildren(); 70 71 82 int remove() throws NodeRemovalException; 83 84 88 Node getParent(); 89 90 96 boolean isRemoved(); 97 98 101 void refresh(); 102 103 111 Node[] fetchChildren(); 112 113 123 Node fetchChild(String childName) throws NodeNotFoundException; 124 125 131 boolean containsChild(String childName); 132 133 139 void addNodeListener(NodeEventListener listener); 140 141 } | Popular Tags |