org.dom4j.tree
public class ContentListFacade extends AbstractList
ContentListFacade
represents a facade of the content of a
Branch which is returned via calls to the Branch method to allow users to modify the content of a
Branch directly using the List interface. This list
is backed by the branch such that changes to the list will be reflected in
the branch and changes to the branch will be reflected in this list.
Version: $Revision: 1.11 $
Constructor Summary | |
---|---|
ContentListFacade(AbstractBranch branch, List branchContent) |
Method Summary | |
---|---|
boolean | add(Object object) |
void | add(int index, Object object) |
boolean | addAll(Collection collection) |
boolean | addAll(int index, Collection collection) |
protected Node | asNode(Object object) |
void | clear() |
boolean | contains(Object o) |
boolean | containsAll(Collection c) |
Object | get(int index) |
protected List | getBackingList() |
int | indexOf(Object o) |
boolean | isEmpty() |
int | lastIndexOf(Object o) |
boolean | remove(Object object) |
Object | remove(int index) |
boolean | removeAll(Collection c) |
Object | set(int index, Object object) |
int | size() |
Object[] | toArray() |
Object[] | toArray(Object[] a) |