gnu.lists
Class FilterConsumer
- Consumer
public class FilterConsumer
extends java.lang.Object
A Consumer that wraps some other Consumer.
skipping
protected boolean skipping
FilterConsumer
public FilterConsumer(Consumer base)
beginAttribute
public void beginAttribute(String attrName,
Object attrType)
Write a attribute for the current group.
This is only allowed immediately after a beginGroup.
- beginAttribute in interface Consumer
beginGroup
public void beginGroup(String typeName,
Object type)
- beginGroup in interface Consumer
ignoring
public boolean ignoring()
True if consumer is ignoring rest of group.
The producer can use this information to skip ahead.
- ignoring in interface Consumer
write
public void write(char[] buf,
int off,
int len)
- write in interface Consumer