public class OrderingImpl extends AbstractQOMNode implements Ordering
OrderingImpl...| Modifier and Type | Field and Description |
|---|---|
static OrderingImpl[] |
EMPTY_ARRAY
Empty
OrderingImpl array. |
resolver| Modifier and Type | Method and Description |
|---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
DynamicOperand |
getOperand()
The operand by which to order.
|
String |
getOrder()
Gets the order.
|
boolean |
isAscending() |
String |
toString() |
getJCRName, getJCRPath, protect, quote, quotepublic static final OrderingImpl[] EMPTY_ARRAY
OrderingImpl array.public DynamicOperand getOperand()
getOperand in interface Orderingpublic String getOrder()
public boolean isAscending()
true if this ordering is ascending. Returns
false if ordering is descending.public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
visitor and calls the appropriate visit method
depending on the type of this QOM node.accept in class AbstractQOMNodevisitor - the visitor.data - user defined data, which is passed to the visit method.ExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.