|
||||||||||
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
public class NodeSetImpl
This class implements generic NodeSet ordered lists used with proxied instances of PSML Folders to create a logical view of site content.
Constructor Summary | |
---|---|
NodeSetImpl(java.util.List nodes)
NodeSetImpl - construct immutable proxy Node NodeSet list |
Method Summary | |
---|---|
void |
add(Node node)
add - adds specified proxyNode to the ordered NodeSet list |
boolean |
contains(Node node)
contains - test named Node proxy for existance in NodeSet list |
NodeSet |
exclusiveSubset(java.lang.String regex)
exclusiveSubset - construct new NodeSet containing Node proxies whose name or path does not match the specified regex pattern |
Node |
get(java.lang.String name)
get - return proxy Node by name or path |
NodeSet |
inclusiveSubset(java.lang.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 |
java.util.Iterator |
iterator()
iterator - return iterator over ordered list |
int |
size()
size - return size of NodeSet list |
NodeSet |
subset(java.lang.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 |
Constructor Detail |
---|
public NodeSetImpl(java.util.List nodes)
nodes
- list of proxy NodesMethod Detail |
---|
public Node get(java.lang.String name)
get
in interface NodeSet
name
- node name
public java.util.Iterator iterator()
iterator
in interface NodeSet
public NodeSet subset(java.lang.String type)
subset
in interface NodeSet
type
- node type
public NodeSet inclusiveSubset(java.lang.String regex)
inclusiveSubset
in interface NodeSet
regex
- proxy Node name/path match pattern
public NodeSet exclusiveSubset(java.lang.String regex)
exclusiveSubset
in interface NodeSet
regex
- proxy Node name/path match pattern
public int size()
size
in interface NodeSet
public boolean contains(Node node)
contains
in interface NodeSet
node
- proxy Node
public boolean isEmpty()
isEmpty
in interface NodeSet
public void add(Node node)
add
in interface NodeSet
node
- proxy Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |