Package com.iizigo.ws.editor
Interface IEditorReplyProcessor
- All Superinterfaces:
IReplyProcessor
- All Known Implementing Classes:
EditorJSONReplyDocument
The reply processor for the Designer.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionboolean
Verifies if this processor could potentially become a valid processor if it receives identification information.createFirstProcessorIdentification
(EditorOutputProps output, IReplyContent reply) Creates the required identification properties to start to become a valid processor.Gets the description of this this processor.boolean
processReply
(WebServiceEditor editor, EditorOutputProps output, boolean doPerform, List<VSComponent> list, Map<VSComponent, Throwable> errors) Processes a stored reply contents.setReply
(IReplyContent reply) Updates the output for the processor with a new reply that should replace the old one.Methods inherited from interface com.iizix.ws.api.IReplyProcessor
getFailureMessage, getReplyMatch, processReply
Method Details
couldBecomeProcessor
Verifies if this processor could potentially become a valid processor if it receives identification information.- Parameters:
reply
- The reply contents.- Returns:
- Flag for processor is candidate.
createFirstProcessorIdentification
Creates the required identification properties to start to become a valid processor.- Parameters:
output
- The output properties.reply
- The reply.- Returns:
- The property container to process identifications.
setReply
Updates the output for the processor with a new reply that should replace the old one.- Parameters:
reply
- The reply.- Returns:
- The DesignerProp that shows the output in the tree.
getDescription
String getDescription()Gets the description of this this processor.- Returns:
- A descriptive text.
processReply
boolean processReply(WebServiceEditor editor, EditorOutputProps output, boolean doPerform, List<VSComponent> list, Map<VSComponent, Throwable> errors) Processes a stored reply contents.- Parameters:
editor
- The Editor.output
- The output properties.doPerform
- The reply contents.list
- List filled with propagated items.errors
- Map filled with errors.- Returns:
- true for success, false if not possible.