public class OrderingImpl extends AbstractQOMNode
OrderingImpl...| Modifier and Type | Field and Description |
|---|---|
static OrderingImpl[] |
EMPTY_ARRAY
Empty
OrderingImpl array. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(QOMTreeVisitor visitor,
java.lang.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.
|
java.lang.String |
getOrder()
Gets the order.
|
boolean |
isAscending() |
java.lang.String |
toString() |
public static final OrderingImpl[] EMPTY_ARRAY
OrderingImpl array.public DynamicOperand getOperand()
public java.lang.String getOrder()
QueryObjectModelConstants#JCR_ORDER_ASCENDING
orQueryObjectModelConstants#JCR_ORDER_DESCENDINGpublic boolean isAscending()
true if this ordering is ascending. Returns
false if ordering is descending.public java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.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.java.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Object"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"