| Constructor and Description |
|---|
ApacheDirectiveTree() |
| Modifier and Type | Method and Description |
|---|---|
ApacheDirectiveTree |
clone() |
ApacheDirective |
createNode(ApacheDirective parentNode,
String name) |
List<ApacheDirective> |
findByName(ApacheDirective nd,
String name,
boolean recursively)
Search can be provided a path-like expression to look for specific children.
|
List<ApacheDirective> |
findByName(String name,
boolean recursively)
Same as
findByName(ApacheDirective, String, boolean, java.util.List) with the root node of this tree
provided as the node parameter. |
Set<String> |
getAllPaths() |
ApacheDirective |
getRootNode() |
List<ApacheDirective> |
search(ApacheDirective nd,
String name) |
List<ApacheDirective> |
search(String name) |
void |
setRootNode(ApacheDirective rootNode) |
public ApacheDirective getRootNode()
public void setRootNode(ApacheDirective rootNode)
public List<ApacheDirective> search(ApacheDirective nd, String name)
public List<ApacheDirective> search(String name)
public List<ApacheDirective> findByName(ApacheDirective nd, String name, boolean recursively)
false, this method is equivalent to ApacheDirective.getChildByName(String).nd - the root node to start the search fromname - the name of the child noderecursively - whether to recurse down the child tree (in the depth first search manner)public List<ApacheDirective> findByName(String name, boolean recursively)
findByName(ApacheDirective, String, boolean, java.util.List) with the root node of this tree
provided as the node parameter.name - the name of the child nodesrecursively - whether to recurse down the child tree (in the depth first search manner)public Set<String> getAllPaths()
public ApacheDirective createNode(ApacheDirective parentNode, String name)
public ApacheDirectiveTree clone()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.