public class OrderingImpl extends AbstractQOMNode implements Ordering
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()
getOperand
in interface Ordering
public java.lang.String getOrder()
public 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 AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved