|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wps.input.ProcessletInputImpl org.deegree.services.wps.input.ComplexInputImpl org.deegree.services.wps.input.ReferencedComplexInput
public class ReferencedComplexInput
A ComplexInputImpl
with a value that is given as a reference to a web-accessible resource.
Field Summary |
---|
Fields inherited from class org.deegree.services.wps.input.ProcessletInputImpl |
---|
definition |
Constructor Summary | |
---|---|
ReferencedComplexInput(ComplexInputDefinition definition,
org.deegree.commons.tom.ows.LanguageString title,
org.deegree.commons.tom.ows.LanguageString summary,
ComplexFormatType format,
InputReference reference)
Creates a new ComplexInputImpl instance from a reference to a web-accessible URI. |
Method Summary | |
---|---|
java.net.URL |
getURL()
Returns the URL that provides the input. |
java.io.InputStream |
getValueAsBinaryStream()
Returns an InputStream for accessing the complex value as a raw stream of bytes (usually for binary
input). |
org.apache.axiom.om.OMElement |
getValueAsElement()
Returns an OMElement for accessing the complex value as an XML element node. |
javax.xml.stream.XMLStreamReader |
getValueAsXMLStream()
Returns an XMLStreamReader for accessing the complex value as an XML event stream. |
java.lang.String |
toString()
|
Methods inherited from class org.deegree.services.wps.input.ComplexInputImpl |
---|
getEncoding, getMimeType, getSchema |
Methods inherited from class org.deegree.services.wps.input.ProcessletInputImpl |
---|
getAbstract, getDefinition, getIdentifier, getTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.services.wps.input.ProcessletInput |
---|
getAbstract, getIdentifier, getTitle |
Constructor Detail |
---|
public ReferencedComplexInput(ComplexInputDefinition definition, org.deegree.commons.tom.ows.LanguageString title, org.deegree.commons.tom.ows.LanguageString summary, ComplexFormatType format, InputReference reference)
ComplexInputImpl
instance from a reference to a web-accessible URI.
definition
- corresponding input definition from process descriptiontitle
- optional title supplied with the input parameter, may be nullsummary
- optional narrative description supplied with the input parameter, may be nullformat
- the XML schema, format, and encoding of the complex valuereference
- provides information for retrieving the input value via the webMethod Detail |
---|
public org.apache.axiom.om.OMElement getValueAsElement() throws java.io.IOException
ComplexInputImpl
OMElement
for accessing the complex value as an XML element node.
NOTE: Never use this method if the input parameter is a binary value -- use ComplexInputImpl.getValueAsBinaryStream()
instead.
getValueAsElement
in class ComplexInputImpl
java.io.IOException
- if accessing the value failspublic java.io.InputStream getValueAsBinaryStream() throws java.io.IOException
ComplexInputImpl
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 ComplexInputImpl.getValueAsXMLStream()
or
ComplexInputImpl.getValueAsElement()
instead. Otherwise erroneous behaviour has to be expected (if the input value is
given embedded in the execute request document).
getValueAsBinaryStream
in interface ComplexInput
getValueAsBinaryStream
in class ComplexInputImpl
java.io.IOException
- if accessing the value failsComplexInputImpl.getValueAsXMLStream()
,
ComplexInputImpl.getValueAsElement()
public javax.xml.stream.XMLStreamReader getValueAsXMLStream() throws java.io.IOException
ComplexInput
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 ComplexInput.getValueAsBinaryStream()
instead.
getValueAsXMLStream
in interface ComplexInput
getValueAsXMLStream
in class ComplexInputImpl
java.io.IOException
- if accessing the value failspublic java.net.URL getURL()
public java.lang.String toString()
toString
in class ProcessletInputImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |