|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.protocol.wps.client.input.ExecutionInput
org.deegree.protocol.wps.client.input.XMLInput
public class XMLInput
ExecutionInput
that encapsulates an XML value.
Constructor Summary | |
---|---|
XMLInput(CodeType id,
java.net.URL url,
boolean isWebAccessible,
java.lang.String mimeType,
java.lang.String encoding,
java.lang.String schema)
Creates a new XMLInput instance. |
|
XMLInput(CodeType id,
javax.xml.stream.XMLStreamReader reader,
java.lang.String mimeType,
java.lang.String encoding,
java.lang.String schema)
Creates a new XMLInput instance. |
Method Summary | |
---|---|
javax.xml.stream.XMLStreamReader |
getAsXMLStream()
Returns the XML value as an XMLStreamReader . |
ComplexFormat |
getFormat()
Returns the format of the input. |
java.net.URL |
getWebAccessibleURL()
Returns the web-accessible URL for retrieving the input value. |
Methods inherited from class org.deegree.protocol.wps.client.input.ExecutionInput |
---|
getId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLInput(CodeType id, java.net.URL url, boolean isWebAccessible, java.lang.String mimeType, java.lang.String encoding, java.lang.String schema)
XMLInput
instance.
id
- parameter identifier, must not be null
url
- URL for accessing the XML resource, must not be null
isWebAccessible
- if true, the data will be submitted to the process as reference, otherwise it will be encoded in the
requestmimeType
- mime type of the XML resource, may be null
(unspecified)encoding
- encoding, may be null
(unspecified)schema
- XML schema, may be null
(unspecified)public XMLInput(CodeType id, javax.xml.stream.XMLStreamReader reader, java.lang.String mimeType, java.lang.String encoding, java.lang.String schema)
XMLInput
instance.
id
- parameter identifier, must not be null
reader
- xml stream that provides the data, must not be null
and point to a START_ELEMENT eventmimeType
- mime type of the XML resource, may be null
(unspecified)encoding
- encoding, may be null
(unspecified)schema
- XML schema, may be null
(unspecified)Method Detail |
---|
public ComplexFormat getFormat()
null
public javax.xml.stream.XMLStreamReader getAsXMLStream() throws javax.xml.stream.XMLStreamException, java.io.IOException
XMLStreamReader
.
java.io.IOException
- if accessing the value fails
javax.xml.stream.XMLStreamException
public java.net.URL getWebAccessibleURL()
ExecutionInput
getWebAccessibleURL
in class ExecutionInput
null
(not web-acessible)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |