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, quote
public static final OrderingImpl[] EMPTY_ARRAY
OrderingImpl
array.public DynamicOperand getOperand()
getOperand
in interface Ordering
public 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 AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.Exception
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.