|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xpath.Node
dk.brics.xpath.Path
public abstract class Path
Abstract superclass for path nodes.
| Nested Class Summary | |
|---|---|
static class |
Path.Kind
Path kinds. |
| Constructor Summary | |
|---|---|
Path(Path.Kind kind,
List<Step> steps)
Constructs a new path node. |
|
| Method Summary | |
|---|---|
void |
apply(Visitor v)
Applies the given Visitor to this node. |
Path.Kind |
getKind()
Gets the kind. |
List<Step> |
getSteps()
Gets the list of steps. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Path(Path.Kind kind,
List<Step> steps)
kind - kind of pathsteps - list of steps| Method Detail |
|---|
public void apply(Visitor v)
NodeVisitor to this node.
apply in class Nodev - node visitorpublic Path.Kind getKind()
public List<Step> getSteps()
public String toString()
toString in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||