|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.n52.wps.server.request.InputHandler
public class InputHandler
Handles the input of the client and stores it into a Map.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.util.List<IData>> |
inputData
|
protected static org.apache.log4j.Logger |
LOGGER
|
| Constructor Summary | |
|---|---|
InputHandler(net.opengis.wps.x100.InputType[] inputs,
java.lang.String algorithmIdentifier)
Initializes a parser that handles each (line of) input based on the type of input. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.util.List<IData>> |
getParsedInputData()
Gets the resulting InputLayers from the parser |
protected void |
handleBBoxValue(net.opengis.wps.x100.InputType input)
Handles BBoxValue |
protected void |
handleComplexData(net.opengis.wps.x100.InputType input)
Handles the complexValue, which in this case should always include XML which can be parsed into a FeatureCollection. |
protected void |
handleComplexValueReference(net.opengis.wps.x100.InputType input)
Handles the ComplexValueReference |
protected void |
handleLiteralData(net.opengis.wps.x100.InputType input)
Handles the literalData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger LOGGER
protected java.util.Map<java.lang.String,java.util.List<IData>> inputData
| Constructor Detail |
|---|
public InputHandler(net.opengis.wps.x100.InputType[] inputs,
java.lang.String algorithmIdentifier)
throws ExceptionReport
inputs - The client input
ExceptionReport#handleComplexData(IOValueType),
#handleComplexValueReference(IOValueType),
#handleLiteralData(IOValueType),
#handleBBoxValue(IOValueType)| Method Detail |
|---|
protected void handleComplexData(net.opengis.wps.x100.InputType input)
throws ExceptionReport
input - The client input
ExceptionReport - If error occured while parsing XML
protected void handleLiteralData(net.opengis.wps.x100.InputType input)
throws ExceptionReport
input - The client's input
ExceptionReport - If the type of the parameter is invalid.
protected void handleComplexValueReference(net.opengis.wps.x100.InputType input)
throws ExceptionReport
input - The client input
ExceptionReport - If the input (as url) is invalid, or there is an error while parsing the XML.
protected void handleBBoxValue(net.opengis.wps.x100.InputType input)
throws ExceptionReport
input - The client input
ExceptionReportpublic java.util.Map<java.lang.String,java.util.List<IData>> getParsedInputData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||