|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.page.document.proxy.NodeSetImpl
This class implements generic NodeSet ordered lists used with proxied instances of PSML Folders to create a logical view of site content.
| Field Summary | |
private List |
nodes
nodes - list of proxy nodes |
| Constructor Summary | |
NodeSetImpl(List nodes)
NodeSetImpl - construct immutable proxy Node NodeSet list |
|
| Method Summary | |
void |
add(org.apache.jetspeed.page.document.Node node)
add - adds specified proxyNode to the ordered NodeSet list |
boolean |
contains(org.apache.jetspeed.page.document.Node node)
contains - test named Node proxy for existance in NodeSet list |
org.apache.jetspeed.page.document.NodeSet |
exclusiveSubset(String regex)
exclusiveSubset - construct new NodeSet containing Node proxies whose name or path does not match the specified regex pattern |
org.apache.jetspeed.page.document.Node |
get(String name)
get - return proxy Node by name or path |
org.apache.jetspeed.page.document.NodeSet |
inclusiveSubset(String regex)
inclusiveSubset - construct new NodeSet containing Node proxies whose name or path matches the specified regex pattern |
boolean |
isEmpty()
isEmpty - returns flag indicationg whether NodeSet list is empty or not |
Iterator |
iterator()
iterator - return iterator over ordered list |
int |
size()
size - return size of NodeSet list |
org.apache.jetspeed.page.document.NodeSet |
subset(String type)
subset - construct new NodeSet containing Node proxies of the specified type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private List nodes
| Constructor Detail |
public NodeSetImpl(List nodes)
nodes - list of proxy Nodes| Method Detail |
public org.apache.jetspeed.page.document.Node get(String name)
get in interface org.apache.jetspeed.page.document.NodeSetname - node name
public Iterator iterator()
iterator in interface org.apache.jetspeed.page.document.NodeSetpublic org.apache.jetspeed.page.document.NodeSet subset(String type)
subset in interface org.apache.jetspeed.page.document.NodeSettype - node type
public org.apache.jetspeed.page.document.NodeSet inclusiveSubset(String regex)
inclusiveSubset in interface org.apache.jetspeed.page.document.NodeSetregex - proxy Node name/path match pattern
public org.apache.jetspeed.page.document.NodeSet exclusiveSubset(String regex)
exclusiveSubset in interface org.apache.jetspeed.page.document.NodeSetregex - proxy Node name/path match pattern
public int size()
size in interface org.apache.jetspeed.page.document.NodeSetpublic boolean contains(org.apache.jetspeed.page.document.Node node)
contains in interface org.apache.jetspeed.page.document.NodeSetnode - proxy Node
public boolean isEmpty()
isEmpty in interface org.apache.jetspeed.page.document.NodeSetpublic void add(org.apache.jetspeed.page.document.Node node)
add in interface org.apache.jetspeed.page.document.NodeSetnode - proxy Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||