|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.ogcbase.SortProperty
public class SortProperty
Java incarnation of the SortPropertyType
defined in sort.xsd
from
the Filter Encoding Specification.
Method Summary | |
---|---|
static SortProperty |
create(Element element)
Parses the given SortProperty element. |
static SortProperty |
create(PropertyPath sortProperty,
String sortOrderString)
Creates a new SortProperty instance. |
static SortProperty[] |
create(String sortBy)
Creates an array of SortProperty instances from the giving string encoding (as
described in OGC 04-021r2, page 136). |
boolean |
getSortOrder()
Returns the sort order. |
PropertyPath |
getSortProperty()
Returns the property that will act as sort criterion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PropertyPath getSortProperty()
public boolean getSortOrder()
public static SortProperty create(PropertyPath sortProperty, String sortOrderString) throws InvalidParameterValueException
SortProperty
instance.
sortProperty
- sortOrderString
- must be "ASC" or "DESC"
InvalidParameterValueException
- if sortOrderString is not "ASC" or "DESC"public static SortProperty[] create(String sortBy) throws InvalidParameterValueException
SortProperty
instances from the giving string encoding (as
described in OGC 04-021r2, page 136).
sortBy
-
SortProperty
instances
InvalidParameterValueException
public static SortProperty create(Element element) throws XMLParsingException
SortProperty
element.
element
- 'ogc:SortProperty'-element
SortProperty
instance
XMLParsingException
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net