org.apache.activemq.apollo.util.path
Class AnyChildPathNode<Value>
java.lang.Object
org.apache.activemq.apollo.util.path.AnyChildPathNode<Value>
- All Implemented Interfaces:
- PathNode<Value>
public class AnyChildPathNode<Value>
- extends java.lang.Object
- implements PathNode<Value>
An implementation of PathNode
which navigates all the children of the given node
ignoring the name of the current path (so for navigating using * in a wildcard).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnyChildPathNode
public AnyChildPathNode(PathNode<Value> node)
appendMatchingValues
public void appendMatchingValues(java.util.Set<Value> answer,
Path path,
int startIndex)
- Specified by:
appendMatchingValues
in interface PathNode<Value>
appendMatchingWildcards
public void appendMatchingWildcards(java.util.Set<Value> answer,
Path path,
int startIndex)
- Specified by:
appendMatchingWildcards
in interface PathNode<Value>
appendDescendantValues
public void appendDescendantValues(java.util.Set<Value> answer)
- Specified by:
appendDescendantValues
in interface PathNode<Value>
getChild
public PathNode<Value> getChild(Part part)
- Specified by:
getChild
in interface PathNode<Value>
getDesendentValues
public java.util.Collection<Value> getDesendentValues()
- Specified by:
getDesendentValues
in interface PathNode<Value>
getValues
public java.util.Collection<Value> getValues()
- Specified by:
getValues
in interface PathNode<Value>
getChildren
public java.util.Collection<PathNode<Value>> getChildren()
- Specified by:
getChildren
in interface PathNode<Value>
removeDesendentValues
public java.util.Collection<Value> removeDesendentValues()
- Specified by:
removeDesendentValues
in interface PathNode<Value>
removeValues
public java.util.Collection<Value> removeValues()
- Specified by:
removeValues
in interface PathNode<Value>
getChildNodes
protected java.util.Collection<PathNode<Value>> getChildNodes()
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.