public class TokenTypeSinkFilter extends TeeSinkTokenFilter.SinkFilter
Constructor and Description |
---|
TokenTypeSinkFilter(java.lang.String typeToMatch) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(AttributeSource source)
Returns true, iff the current state of the passed-in
AttributeSource shall be stored
in the sink. |
reset
public boolean accept(AttributeSource source)
TeeSinkTokenFilter.SinkFilter
AttributeSource
shall be stored
in the sink.accept
in class TeeSinkTokenFilter.SinkFilter
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.