com.bea.xml.stream.filters
Class TypeFilter

java.lang.Object
  extended bycom.bea.xml.stream.filters.TypeFilter
All Implemented Interfaces:
EventFilter, StreamFilter

public class TypeFilter
extends Object
implements EventFilter, StreamFilter


Field Summary
protected  boolean[] types
           
 
Constructor Summary
TypeFilter()
           
 
Method Summary
 boolean accept(XMLEvent e)
           
 boolean accept(XMLStreamReader r)
           
 void addType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

protected boolean[] types
Constructor Detail

TypeFilter

public TypeFilter()
Method Detail

addType

public void addType(int type)

accept

public boolean accept(XMLEvent e)
Specified by:
accept in interface EventFilter

accept

public boolean accept(XMLStreamReader r)
Specified by:
accept in interface StreamFilter


Copyright © 2004 . All Rights Reserved.