org.apache.activemq.filter
Class AnyChildDestinationNode

java.lang.Object
  extended by org.apache.activemq.filter.AnyChildDestinationNode
All Implemented Interfaces:
DestinationNode

public class AnyChildDestinationNode
extends Object
implements DestinationNode

An implementation of DestinationNode 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
AnyChildDestinationNode(DestinationNode node)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyChildDestinationNode

public AnyChildDestinationNode(DestinationNode node)
Method Detail

appendMatchingValues

public void appendMatchingValues(Set answer,
                                 String[] paths,
                                 int startIndex)
Specified by:
appendMatchingValues in interface DestinationNode

appendMatchingWildcards

public void appendMatchingWildcards(Set answer,
                                    String[] paths,
                                    int startIndex)
Specified by:
appendMatchingWildcards in interface DestinationNode

appendDescendantValues

public void appendDescendantValues(Set answer)
Specified by:
appendDescendantValues in interface DestinationNode

getChild

public DestinationNode getChild(String path)
Specified by:
getChild in interface DestinationNode

getDesendentValues

public Collection getDesendentValues()
Specified by:
getDesendentValues in interface DestinationNode

getValues

public Collection getValues()
Specified by:
getValues in interface DestinationNode

getChildren

public Collection getChildren()
Specified by:
getChildren in interface DestinationNode

removeDesendentValues

public Collection removeDesendentValues()
Specified by:
removeDesendentValues in interface DestinationNode

removeValues

public Collection removeValues()
Specified by:
removeValues in interface DestinationNode

getChildNodes

protected Collection getChildNodes()


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.