public class TreeNode
extends java.lang.Object
| Constructor and Description |
|---|
TreeNode(PathElement elem) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(TreeNode node) |
boolean |
containsSplatChild() |
java.util.List<TreeNode> |
getChildren() |
TreeNode |
getMatchingChild(PathElement elem) |
java.util.List<TreeNode> |
getMatchingChildren(java.lang.String token) |
Route |
getRoute() |
TreeNode |
getSplatChild() |
boolean |
hasChildren() |
boolean |
hasRoute() |
boolean |
isSplat() |
boolean |
matches(PathElement elem) |
boolean |
matches(java.lang.String token) |
java.util.regex.Pattern |
pattern() |
void |
setRoute(Route route) |
java.lang.String |
toString() |
public TreeNode(PathElement elem)
public boolean matches(java.lang.String token)
public boolean matches(PathElement elem)
public void addChild(TreeNode node)
public java.util.List<TreeNode> getChildren()
public TreeNode getMatchingChild(PathElement elem)
public java.util.List<TreeNode> getMatchingChildren(java.lang.String token)
public boolean hasChildren()
public boolean containsSplatChild()
public TreeNode getSplatChild()
public java.util.regex.Pattern pattern()
public boolean isSplat()
public Route getRoute()
public void setRoute(Route route)
public boolean hasRoute()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.