|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(org.w3c.dom.Element element)
Parses the given SortProperty element. |
static SortProperty |
create(PropertyPath sortProperty,
java.lang.String sortOrderString)
Creates a new SortProperty instance. |
static SortProperty[] |
create(java.lang.String sortBy,
java.util.Map<java.lang.String,java.net.URI> nscontext)
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, java.lang.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(java.lang.String sortBy, java.util.Map<java.lang.String,java.net.URI> nscontext)
SortProperty
instances from the giving string encoding (as described in OGC
04-021r2, page 136).
sortBy
- nscontext
-
SortProperty
instancespublic static SortProperty create(org.w3c.dom.Element element) throws XMLParsingException
SortProperty
element.
element
- 'ogc:SortProperty'-element
SortProperty
instance
XMLParsingException
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org