com.evolvedbinary.xpath.parser.ast
Class Axis

java.lang.Object
  extended by com.evolvedbinary.xpath.parser.ast.AbstractASTNode
      extended by com.evolvedbinary.xpath.parser.ast.Axis
All Implemented Interfaces:
ASTNode

public class Axis
extends AbstractASTNode

Created by aretter on 28/01/2016.


Nested Class Summary
static class Axis.Direction
           
 
Field Summary
static Axis ANCESTOR
           
static Axis ANCESTOR_OR_SELF
           
static Axis ATTRIBUTE
           
static Axis CHILD
           
static Axis DESCENDANT
           
static Axis DESCENDANT_OR_SELF
           
static Axis FOLLOWING
           
static Axis FOLLOWING_SIBLING
           
static Axis NAMESPACE
           
static Axis PARENT
           
static Axis PRECEDING
           
static Axis PRECEDING_SIBLING
           
static Axis SELF
           
 
Method Summary
protected  String describe()
           
 boolean equals(Object obj)
           
static Axis fromSyntax(String syntax)
           
 Axis.Direction getDirection()
           
 String getName()
           
 String getSyntax()
           
 
Methods inherited from class com.evolvedbinary.xpath.parser.ast.AbstractASTNode
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHILD

public static final Axis CHILD

PARENT

public static final Axis PARENT

PRECEDING_SIBLING

public static final Axis PRECEDING_SIBLING

PRECEDING

public static final Axis PRECEDING

ANCESTOR_OR_SELF

public static final Axis ANCESTOR_OR_SELF

ANCESTOR

public static final Axis ANCESTOR

SELF

public static final Axis SELF

DESCENDANT_OR_SELF

public static final Axis DESCENDANT_OR_SELF

DESCENDANT

public static final Axis DESCENDANT

FOLLOWING_SIBLING

public static final Axis FOLLOWING_SIBLING

FOLLOWING

public static final Axis FOLLOWING

NAMESPACE

public static final Axis NAMESPACE

ATTRIBUTE

public static final Axis ATTRIBUTE
Method Detail

fromSyntax

public static final Axis fromSyntax(String syntax)

getName

public String getName()

getSyntax

public String getSyntax()

describe

protected String describe()
Specified by:
describe in class AbstractASTNode

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getDirection

public Axis.Direction getDirection()


Copyright © 2016 Evolved Binary Ltd.. All Rights Reserved.