|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ncl.cs.instantsoap.stringprocessor.Map2StringProcessor
public class Map2StringProcessor
A MapProcessor that delegates on to a StringProcessor.
| Constructor Summary | |
|---|---|
Map2StringProcessor(StringProcessor stringProcessor)
Create a new map processor that wraps the provided string processor. |
|
| Method Summary | |
|---|---|
MetaData |
describeApplication(String appName)
Describe an application. |
Set<MetaData> |
getInputs(String application)
Get the inputs assocaited with an application. |
Set<MetaData> |
getOutputs(String appName)
Get the outputs assocaited with an application. |
StringProcessor |
getStringProcessor()
Get the string processor that this delegates all calls on to. |
boolean |
handlesApplication(String application)
Indicates if this processor can handle applications with a particuar name. |
List<String> |
listApplications()
List all of the applications handled, by name. |
Map<String,String> |
process(String application,
Map<String,String> contents)
Handle a request. |
void |
validate(String application,
Map<String,String> contents)
Validate the inputs for the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Map2StringProcessor(StringProcessor stringProcessor)
stringProcessor - the StringProcessor to wrap| Method Detail |
|---|
public StringProcessor getStringProcessor()
StringProcessor delegatepublic boolean handlesApplication(String application)
MapProcessorlistApplicaionts.
handlesApplication in interface MapProcessorapplication - the name of the application to be checked
public List<String> listApplications()
MapProcessor
listApplications in interface MapProcessorList of handled applications
public MetaData describeApplication(String appName)
throws UnknownApplicationException
MapProcessor
describeApplication in interface MapProcessorappName - the name of the application
MetaData with the name matching application
providing the description and semantic annotation for this application
UnknownApplicationException
public Map<String,String> process(String application,
Map<String,String> contents)
throws JobExecutionException
MapProcessor
process in interface MapProcessorapplication - the name of the applicationcontents - the input Map
JobExecutionException
public void validate(String application,
Map<String,String> contents)
throws InvalidJobSpecificationException,
UnknownApplicationException
MapProcessor
validate in interface MapProcessorapplication - the name of the applicationcontents - the Map of input values
InvalidJobSpecificationException
UnknownApplicationException
public Set<MetaData> getInputs(String application)
throws UnknownApplicationException
MapProcessor
getInputs in interface MapProcessorapplication - the name of the application
Set of MetaData
instances
UnknownApplicationException
public Set<MetaData> getOutputs(String appName)
throws UnknownApplicationException
MapProcessor
getOutputs in interface MapProcessorappName - the name of the application
Set of MetaData
instances
UnknownApplicationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||