|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ncl.cs.instantsoap.wsapi.impl.EchoingStringProcessor
@SpiProvider public class EchoingStringProcessor
An implementation of StringProcessor that echoes the input string to the output.
Constructor Summary | |
---|---|
EchoingStringProcessor()
|
|
EchoingStringProcessor(String application)
|
Method Summary | |
---|---|
MetaData |
describeApplication()
Describe this string transformation application. |
String |
getApplicationName()
|
MetaData |
getInput()
Describe the single input. |
MetaData |
getOutputs()
Describe the single output. |
String |
process(String data)
Process input data. |
void |
setApplicationName(String applicationName)
|
void |
validate(String data)
Check that the input is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EchoingStringProcessor()
public EchoingStringProcessor(String application)
Method Detail |
---|
public String getApplicationName()
public void setApplicationName(String applicationName)
public String process(String data) throws JobExecutionException
StringProcessor
process
in interface StringProcessor
data
- the input String
String
JobExecutionException
public void validate(String data) throws InvalidJobSpecificationException
StringProcessor
validate
in interface StringProcessor
data
- the input String
InvalidJobSpecificationException
public MetaData describeApplication()
StringProcessor
describeApplication
in interface StringProcessor
MetaData
describing the application, including its namepublic MetaData getInput()
StringProcessor
getInput
in interface StringProcessor
MetaData
describing the input, including its namepublic MetaData getOutputs()
StringProcessor
getOutputs
in interface StringProcessor
MetaData
describing the output, including its name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |