|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.lists.FilterConsumer
public class FilterConsumer
A Consumer that wraps some other Consumer.
Field Summary | |
---|---|
protected java.lang.Object |
attributeType
The 'attribute type' from the most recent startAttribute. |
protected Consumer |
base
|
protected boolean |
inAttribute
We seen a startAttribute but not the closing endAttribute. |
protected boolean |
skipping
|
Constructor Summary | |
---|---|
FilterConsumer(Consumer base)
|
Method Summary | |
---|---|
Consumer |
append(char c)
|
Consumer |
append(java.lang.CharSequence csq)
|
Consumer |
append(java.lang.CharSequence csq,
int start,
int end)
|
protected void |
beforeContent()
|
void |
endAttribute()
End of an attribute or end of an actual parameter. |
void |
endDocument()
|
void |
endElement()
|
boolean |
ignoring()
True if consumer is ignoring rest of element. |
void |
startAttribute(java.lang.Object attrType)
Write a attribute for the current element. |
void |
startDocument()
|
void |
startElement(java.lang.Object type)
|
void |
write(char[] buf,
int off,
int len)
|
void |
write(java.lang.CharSequence str,
int start,
int length)
|
void |
write(int v)
|
void |
write(java.lang.String str)
|
void |
writeBoolean(boolean v)
|
void |
writeDouble(double v)
|
void |
writeFloat(float v)
|
void |
writeInt(int v)
|
void |
writeLong(long v)
|
void |
writeObject(java.lang.Object v)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Consumer base
protected boolean skipping
protected boolean inAttribute
protected java.lang.Object attributeType
Constructor Detail |
---|
public FilterConsumer(Consumer base)
Method Detail |
---|
protected void beforeContent()
public void write(int v)
write
in interface Consumer
public void writeBoolean(boolean v)
writeBoolean
in interface Consumer
public void writeFloat(float v)
writeFloat
in interface Consumer
public void writeDouble(double v)
writeDouble
in interface Consumer
public void writeInt(int v)
writeInt
in interface Consumer
public void writeLong(long v)
writeLong
in interface Consumer
public void startDocument()
startDocument
in interface Consumer
public void endDocument()
endDocument
in interface Consumer
public void startElement(java.lang.Object type)
startElement
in interface Consumer
public void endElement()
endElement
in interface Consumer
public void startAttribute(java.lang.Object attrType)
Consumer
startAttribute
in interface Consumer
public void endAttribute()
Consumer
endAttribute
in interface Consumer
public void writeObject(java.lang.Object v)
writeObject
in interface Consumer
public boolean ignoring()
Consumer
ignoring
in interface Consumer
public void write(char[] buf, int off, int len)
write
in interface Consumer
public void write(java.lang.String str)
write
in interface Consumer
public void write(java.lang.CharSequence str, int start, int length)
write
in interface Consumer
public Consumer append(char c)
append
in interface Consumer
append
in interface java.lang.Appendable
public Consumer append(java.lang.CharSequence csq)
append
in interface Consumer
append
in interface java.lang.Appendable
public Consumer append(java.lang.CharSequence csq, int start, int end)
append
in interface Consumer
append
in interface java.lang.Appendable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |