org.modeshape.jcr.xpath
Class XPath.OrderBy
java.lang.Object
org.modeshape.jcr.xpath.XPath.Component
org.modeshape.jcr.xpath.XPath.OrderBy
- All Implemented Interfaces:
- Iterable<XPath.OrderBySpec>
- Enclosing class:
- XPath
public static class XPath.OrderBy
- extends XPath.Component
- implements Iterable<XPath.OrderBySpec>
XPath.OrderBy
public XPath.OrderBy(List<XPath.OrderBySpec> orderBySpecifications)
getOrderBySpecifications
public List<XPath.OrderBySpec> getOrderBySpecifications()
- Returns:
- the list of order-by specifications; never null
collapse
public XPath.Component collapse()
- Return the collapsable form
- Overrides:
collapse
in class XPath.Component
- Returns:
- the collapsed form of th is component; never null and possibly the same as this
- See Also:
XPath.Component.collapse()
iterator
public Iterator<XPath.OrderBySpec> iterator()
-
- Specified by:
iterator
in interface Iterable<XPath.OrderBySpec>
- See Also:
Iterable.iterator()
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.