gnu.xml
Class NamedChildrenFilter

java.lang.Object
  extended by gnu.lists.FilterConsumer
      extended by gnu.xml.NamedChildrenFilter
All Implemented Interfaces:
Consumer, java.lang.Appendable

public class NamedChildrenFilter
extends FilterConsumer

A FilterConsumer that only passes through matching children.


Field Summary
 
Fields inherited from class gnu.lists.FilterConsumer
base, skipping
 
Constructor Summary
NamedChildrenFilter(java.lang.String namespaceURI, java.lang.String localName, Consumer out)
           
 
Method Summary
 void beginDocument()
           
 void beginGroup(java.lang.String typeName, java.lang.Object type)
           
 void endDocument()
           
 void endGroup(java.lang.String typeName)
           
static NamedChildrenFilter make(java.lang.String namespaceURI, java.lang.String localName, Consumer out)
           
 void writeObject(java.lang.Object val)
           
 
Methods inherited from class gnu.lists.FilterConsumer
append, append, append, beginAttribute, endAttribute, ignoring, write, writeBoolean, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedChildrenFilter

public NamedChildrenFilter(java.lang.String namespaceURI,
                           java.lang.String localName,
                           Consumer out)
Method Detail

make

public static NamedChildrenFilter make(java.lang.String namespaceURI,
                                       java.lang.String localName,
                                       Consumer out)

beginDocument

public void beginDocument()
Specified by:
beginDocument in interface Consumer
Overrides:
beginDocument in class FilterConsumer

endDocument

public void endDocument()
Specified by:
endDocument in interface Consumer
Overrides:
endDocument in class FilterConsumer

beginGroup

public void beginGroup(java.lang.String typeName,
                       java.lang.Object type)
Specified by:
beginGroup in interface Consumer
Overrides:
beginGroup in class FilterConsumer

endGroup

public void endGroup(java.lang.String typeName)
Specified by:
endGroup in interface Consumer
Overrides:
endGroup in class FilterConsumer

writeObject

public void writeObject(java.lang.Object val)
Specified by:
writeObject in interface Consumer
Overrides:
writeObject in class FilterConsumer