1 package org.ozoneDB.xml.dom4j; 2 3 import org.dom4j.Branch; 4 import org.dom4j.Element; 5 import org.dom4j.Node; 6 import org.ozoneDB.OzoneRemote; 7 import org.ozoneDB.xml.dom4j.o3impl.BackedList; 8 9 import java.util.List ; 10 11 14 public interface OzoneBranch extends Branch, OzoneRemote { 15 16 19 String getContentAsText(Object content); 20 21 23 String getContentAsStringValue(Object content); 24 25 String getTextTrim(); 26 27 29 String elementID(Element element); 30 31 32 List contentList(); 33 34 37 List createContentList(); 38 39 42 List createContentList(int size); 43 44 45 48 BackedList createResultList(); 49 50 53 List createSingleResultList(Object result); 54 55 58 List createEmptyList(); 59 60 void addNode(Node node); 61 62 void addNode(int index, Node node); 63 64 boolean removeNode(Node node); 65 66 67 71 void childAdded(Node node); 72 73 77 void childRemoved(Node node); 78 79 83 void contentRemoved(); 84 85 88 void invalidNodeTypeAddException(Node node); 89 } 90 | Popular Tags |