public class AnyChildDestinationNode extends Object implements DestinationNode
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 and Description |
|---|
AnyChildDestinationNode(DestinationNode node) |
| Modifier and Type | Method and 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() |
public AnyChildDestinationNode(DestinationNode node)
public void appendMatchingValues(Set answer, String[] paths, int startIndex)
appendMatchingValues in interface DestinationNodepublic void appendMatchingWildcards(Set answer, String[] paths, int startIndex)
appendMatchingWildcards in interface DestinationNodepublic void appendDescendantValues(Set answer)
appendDescendantValues in interface DestinationNodepublic DestinationNode getChild(String path)
getChild in interface DestinationNodepublic Collection getDesendentValues()
getDesendentValues in interface DestinationNodepublic Collection getValues()
getValues in interface DestinationNodepublic Collection getChildren()
getChildren in interface DestinationNodepublic Collection removeDesendentValues()
removeDesendentValues in interface DestinationNodepublic Collection removeValues()
removeValues in interface DestinationNodeprotected Collection getChildNodes()
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.