|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.search.basic.OrderBy
Encapsulate an OrderBy expression. Also supplies a Comparator according to the specified parameters in the OrderBy expression,
Field Summary | |
protected java.util.List |
orderByElements
all orderby elements of this expression |
Constructor Summary | |
OrderBy()
|
Method Summary | |
protected CompareHint |
createCompareHint(PropertyName prop,
boolean isAscending,
boolean isCaseSensitive)
|
protected PropertyName |
createProperty(org.jdom.Element propElem)
Method createProperty |
java.util.Comparator |
getComparator()
Method getComparator |
void |
init(org.jdom.Element orderByElement)
initializes an OrderBy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List orderByElements
Constructor Detail |
public OrderBy()
Method Detail |
public void init(org.jdom.Element orderByElement) throws InvalidQueryException
orderByElement
- the JDOM element containing the
orderBy expression
InvalidQueryException
protected CompareHint createCompareHint(PropertyName prop, boolean isAscending, boolean isCaseSensitive)
public java.util.Comparator getComparator()
protected PropertyName createProperty(org.jdom.Element propElem) throws InvalidQueryException
propElem
- an Element
InvalidQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |