public static class XPath.PathExpression extends XPath.Component implements Iterable<XPath.StepExpression>
Constructor and Description |
---|
PathExpression(boolean relative,
List<XPath.StepExpression> steps,
XPath.OrderBy orderBy) |
Modifier and Type | Method and Description |
---|---|
XPath.Component |
collapse()
Return the collapsable form
|
boolean |
equals(Object obj) |
XPath.StepExpression |
getLastStep() |
XPath.OrderBy |
getOrderBy()
Get the order-by clause.
|
List<XPath.StepExpression> |
getSteps() |
int |
hashCode() |
boolean |
isRelative() |
Iterator<XPath.StepExpression> |
iterator() |
String |
toString() |
XPath.PathExpression |
withoutFirst() |
XPath.PathExpression |
withoutLast() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public PathExpression(boolean relative, List<XPath.StepExpression> steps, XPath.OrderBy orderBy)
public boolean isRelative()
public XPath.OrderBy getOrderBy()
public List<XPath.StepExpression> getSteps()
public XPath.StepExpression getLastStep()
public XPath.PathExpression withoutLast()
public XPath.PathExpression withoutFirst()
public Iterator<XPath.StepExpression> iterator()
iterator
in interface Iterable<XPath.StepExpression>
public XPath.Component collapse()
XPath.Component
collapse
in class XPath.Component
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.