|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
URL url,
boolean isWebAccessible,
String mimeType,
String encoding,
String schema)
Creates a new XMLInput instance. |
|
XMLInput(CodeType id,
XMLStreamReader reader,
String mimeType,
String encoding,
String schema)
Creates a new XMLInput instance. |
Method Summary | |
---|---|
XMLStreamReader |
getAsXMLStream()
Returns the XML value as an XMLStreamReader . |
ComplexFormat |
getFormat()
Returns the format of the input. |
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, URL url, boolean isWebAccessible, String mimeType, String encoding, 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, XMLStreamReader reader, String mimeType, String encoding, 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 XMLStreamReader getAsXMLStream() throws XMLStreamException, IOException
XMLStreamReader
.
IOException
- if accessing the value fails
XMLStreamException
public 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 |