| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATOR
Object name into the channel.
|
| Constructor and Description |
|---|
PipeAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
static IChannel |
bind(IChannel channel,
IAnnotator obj)
Bind the object to the channel.
|
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel.
|
protected IAnnotator |
createAnnotator()
Creates an annotator instance.
|
static IAnnotator |
lookup(IChannel channel)
Look for the object into the channel.
|
IChannel |
process(IChannel channel)
Perform some transformation over the channel.
|
public static final String ANNOTATOR
public boolean check(IChannel channel) throws AbortException
IPipecheck in interface IPipechannel - The information channel.AbortException - If the channel is corrupted.public IChannel process(IChannel channel) throws PipelineException
IPipeprocess in interface IPipechannel - The channel.PipelineException - On processing errors.protected IAnnotator createAnnotator() throws AnnotatorException
AnnotatorException - On creation error.public static IChannel bind(IChannel channel, IAnnotator obj)
channel - The channel.obj - The object.public static IAnnotator lookup(IChannel channel) throws NotFoundException, InvalidTypeException
channel - The channel.NotFoundException - When object with the given name.InvalidTypeException - When expected type do not match.Copyright © 2016. All rights reserved.