org.geotools.filter
Interface SortBy2

All Superinterfaces:
SortBy, org.opengis.filter.sort.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.

Field Summary
 
Fields inherited from interface org.geotools.filter.SortBy
UNSORTED
 
Fields inherited from interface org.opengis.filter.sort.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 org.opengis.filter.sort.SortBy
getPropertyName, getSortOrderType, setPropertyName, setSortOrder
 

Method Detail

getExpression

public 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

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

Returns:
Will return the same Expression as getAttributeExpression.


Copyright © GeoTools. All Rights Reserved.