[Geoserver-devel] [jira] Created: (GEOS-2456) Have a generic WPS encoding delegate interface

Have a generic WPS encoding delegate interface
----------------------------------------------

                 Key: GEOS-2456
                 URL: http://jira.codehaus.org/browse/GEOS-2456
             Project: GeoServer
          Issue Type: Bug
          Components: WPS
            Reporter: Andrea Aime
            Assignee: Andrea Aime

At the moment complex outputs are encoded in XML by using an EncoderDelegate.
By supporting raw outputs we move outside of the hyphotesis that the output is only XML or part of an XML document.
The same PPIO should be usable to encode, for example, an image in base64 (if someone is fool enough to ask for that) inside an xml document, but also as a raw PNG.

What I'm thinking is something like:

WPSEncoderDelegate extends org.geotools.xml.EncoderDelegate {
  public void encodeRaw(OutputStream os);
}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira