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 ofDestinationNodewhich 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 voidappendDescendantValues(Set answer)voidappendMatchingValues(Set answer, String[] paths, int startIndex)voidappendMatchingWildcards(Set answer, String[] paths, int startIndex)DestinationNodegetChild(String path)protected CollectiongetChildNodes()CollectiongetChildren()CollectiongetDesendentValues()CollectiongetValues()CollectionremoveDesendentValues()CollectionremoveValues()
-
-
-
Constructor Detail
-
AnyChildDestinationNode
public AnyChildDestinationNode(DestinationNode node)
-
-
Method Detail
-
appendMatchingValues
public void appendMatchingValues(Set answer, String[] paths, int startIndex)
- Specified by:
appendMatchingValuesin interfaceDestinationNode
-
appendMatchingWildcards
public void appendMatchingWildcards(Set answer, String[] paths, int startIndex)
- Specified by:
appendMatchingWildcardsin interfaceDestinationNode
-
appendDescendantValues
public void appendDescendantValues(Set answer)
- Specified by:
appendDescendantValuesin interfaceDestinationNode
-
getChild
public DestinationNode getChild(String path)
- Specified by:
getChildin interfaceDestinationNode
-
getDesendentValues
public Collection getDesendentValues()
- Specified by:
getDesendentValuesin interfaceDestinationNode
-
getValues
public Collection getValues()
- Specified by:
getValuesin interfaceDestinationNode
-
getChildren
public Collection getChildren()
- Specified by:
getChildrenin interfaceDestinationNode
-
removeDesendentValues
public Collection removeDesendentValues()
- Specified by:
removeDesendentValuesin interfaceDestinationNode
-
removeValues
public Collection removeValues()
- Specified by:
removeValuesin interfaceDestinationNode
-
getChildNodes
protected Collection getChildNodes()
-
-