1 56 57 package org.jdom; 58 59 import java.io.Serializable ; 60 import java.util.*; 61 import org.jdom.filter.Filter; 62 63 75 public interface Parent extends Cloneable , Serializable { 76 77 83 int getContentSize(); 84 85 92 int indexOf(Content child); 93 94 103 108 List cloneContent(); 109 110 120 Content getContent(int index); 121 122 138 List getContent(); 139 140 157 List getContent(Filter filter); 158 159 165 List removeContent(); 166 167 174 List removeContent(Filter filter); 175 176 182 boolean removeContent(Content child); 183 184 193 Content removeContent(int index); 194 195 200 Object clone(); 201 202 208 Iterator getDescendants(); 209 210 220 Iterator getDescendants(Filter filter); 221 222 229 Parent getParent(); 230 231 237 Document getDocument(); 238 239 } 240 | Popular Tags |