org.geotools.filter
Interface SortBy2

All Superinterfaces:
SortBy

public interface SortBy2
extends SortBy

GeoTools allows for more pervase use of Expression then is strictly supported by the specification.

To make the distiniction clear, generic use of Expression for SortBy has been issolated to this interface. You shoudl note that this is outside of the bounds of the Expression specification, and you will not be able to construct valid documents if you use any other expression then AttributeExpression.

Code that is compatible with the expanded use will indicate via acceptance of a SortBy2 parameter. If you are working with a strictly standards complient service (like WFS 1.1) it will be limited to the use of SortBy.

Author:
Jody Garnett, Refractions Research.
Module:
modules/library/api (gt-api.jar)

Field Summary
 
Fields inherited from interface SortBy
UNSORTED
 
Fields inherited from interface SortBy
NATURAL_ORDER, REVERSE_ORDER
 
Method Summary
 Expression getExpression()
          GeoTools allows for more pervase use of Expression then is strictly supported by the specification.
 void setExpression(Expression expression)
          GeoTools allows for more pervase use of Expression then is strictly supported by the specification.
 
Methods inherited from interface SortBy
getPropertyName, getSortOrder
 

Method Detail

getExpression

Expression getExpression()
GeoTools allows for more pervase use of Expression then is strictly supported by the specification.

Returns:
Will return the same Expression as getAttributeExpression.

setExpression

void setExpression(Expression expression)
GeoTools allows for more pervase use of Expression then is strictly supported by the specification.



Copyright © 1996-2009 Geotools. All Rights Reserved.