1 package org.sapia.regis; 2 3 import java.util.Collection ; 4 import java.util.Map ; 5 6 17 public interface Node { 18 19 public static final String ROOT_NAME = ""; 20 21 24 public String getName(); 25 26 29 public String getType(); 30 31 34 public Path getAbsolutePath(); 35 36 42 public long lastModifChecksum(); 43 44 47 public Node getParent(); 48 49 52 public boolean isRoot(); 53 54 57 public boolean isInheritsParent(); 58 59 64 public Collection getLinks(boolean prepended); 65 66 70 public Collection getIncludes(); 71 72 78 public Property getProperty(String key); 79 80 98 public Property renderProperty(String key); 99 100 105 public Property renderProperty(String key, Map values); 106 107 110 public Collection getPropertyKeys(); 111 112 118 public Map getProperties(); 119 120 125 public Map getProperties(Map values); 126 127 131 public Node getChild(String name); 132 133 137 public Node getChild(Path path); 138 139 142 public Collection getChildren(); 143 144 149 public Collection getNodes(Query query); 150 151 } 152 | Popular Tags |