Hi,
the current filter factory allows only one way to build sortBy:

    SortBy sort(String propertyName, SortOrder order);

However the above does not work against complex features, we need to be
able to use a xpath and
provide a namespace support in order for the property to be found using the
xpath property accessor.
So I guess we're missing a method there, which could be either:

    SortBy sort(PropertyName propertyName, SortOrder order);

where you'd build the PropertyName using the existing PropertyName
property(String xpath, NamespaceSupport namespaceContext);

or:

    SortBy sort(String propertyName, NamespaceSupport ns, SortOrder order);

Opinions?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to