Can I make another suggestion regarding the SLDStyling class?
In addition to readDOM(Document) it might also be useful to have a parseStyle(Node) that takes a single dom node that should be a UserStyle node and returns a single Style object. That way I could use the SLDStyling class to parse UserStyle node when I come across them in other XML documents, such a complete StyledLayerDescriptor or an XML GetMap Request. In fact, I have had to make this change to SLDStyling for the service I am working on at the moment, so if it appeared in the official geotools code it would be alot easier and Im sure other people could make use of it too.
Ive included a patch to show you what I mean.
Information Exploitation Group
Command and Intelligence Environments Branch
Command and Control Division
Defence Science and Technology Organisation
Get latest updates about Open Source Projects, Conferences and News.