Package org.apache.activemq.filter
Class AnyChildDestinationNode
- java.lang.Object
-
- org.apache.activemq.filter.AnyChildDestinationNode
-
- All Implemented Interfaces:
DestinationNode
public class AnyChildDestinationNode extends Object implements DestinationNode
An implementation ofDestinationNode
which navigates all the children of the given node ignoring the name of the current path (so for navigating using * in a wildcard).
-
-
Constructor Summary
Constructors Constructor Description AnyChildDestinationNode(DestinationNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDescendantValues(Set answer)
void
appendMatchingValues(Set answer, String[] paths, int startIndex)
void
appendMatchingWildcards(Set answer, String[] paths, int startIndex)
DestinationNode
getChild(String path)
protected Collection
getChildNodes()
Collection
getChildren()
Collection
getDesendentValues()
Collection
getValues()
Collection
removeDesendentValues()
Collection
removeValues()
-
-
-
Constructor Detail
-
AnyChildDestinationNode
public AnyChildDestinationNode(DestinationNode node)
-
-
Method Detail
-
appendMatchingValues
public void appendMatchingValues(Set answer, String[] paths, int startIndex)
- Specified by:
appendMatchingValues
in interfaceDestinationNode
-
appendMatchingWildcards
public void appendMatchingWildcards(Set answer, String[] paths, int startIndex)
- Specified by:
appendMatchingWildcards
in interfaceDestinationNode
-
appendDescendantValues
public void appendDescendantValues(Set answer)
- Specified by:
appendDescendantValues
in interfaceDestinationNode
-
getChild
public DestinationNode getChild(String path)
- Specified by:
getChild
in interfaceDestinationNode
-
getDesendentValues
public Collection getDesendentValues()
- Specified by:
getDesendentValues
in interfaceDestinationNode
-
getValues
public Collection getValues()
- Specified by:
getValues
in interfaceDestinationNode
-
getChildren
public Collection getChildren()
- Specified by:
getChildren
in interfaceDestinationNode
-
removeDesendentValues
public Collection removeDesendentValues()
- Specified by:
removeDesendentValues
in interfaceDestinationNode
-
removeValues
public Collection removeValues()
- Specified by:
removeValues
in interfaceDestinationNode
-
getChildNodes
protected Collection getChildNodes()
-
-