|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComplexInput
A complex data structure ProcessletInput
parameter, i.e. an object encoded in XML or a raw binary stream.
Method Summary | |
---|---|
String |
getEncoding()
Returns the encoding information supplied with the input. |
String |
getMimeType()
Returns the mime type of the input. |
String |
getSchema()
Returns the schema URL supplied with the input. |
InputStream |
getValueAsBinaryStream()
Returns an InputStream for accessing the complex value as a raw stream of bytes (usually for binary
input). |
XMLStreamReader |
getValueAsXMLStream()
Returns an XMLStreamReader for accessing the complex value as an XML event stream. |
Methods inherited from interface org.deegree.services.wps.input.ProcessletInput |
---|
getAbstract, getIdentifier, getTitle |
Method Detail |
---|
String getMimeType()
null
String getEncoding()
null
String getSchema()
null
InputStream getValueAsBinaryStream() throws IOException
InputStream
for accessing the complex value as a raw stream of bytes (usually for binary
input).
NOTE: Never use this method if the input parameter is encoded in XML -- use getValueAsXMLStream()
instead. Otherwise erroneous behaviour has to be expected (if the input value is given embedded in the execute
request document).
IOException
- if accessing the value failsgetValueAsXMLStream()
XMLStreamReader getValueAsXMLStream() throws IOException, XMLStreamException
XMLStreamReader
for accessing the complex value as an XML event stream.
NOTE: Never use this method if the input parameter is a binary value -- use getValueAsBinaryStream()
instead.
IOException
- if accessing the value fails
XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |