Oracle

weblogic.xml.stream.util
Class TypeFilter

java.lang.Object
  extended by weblogic.xml.stream.util.TypeFilter
All Implemented Interfaces:
ElementFilter

Deprecated. please use java standard StAX api

public class TypeFilter
extends Object
implements ElementFilter

This is the implementation of the filter interface for types Creates a filter that accepts a certain type of XMLEvent type is an integer code that indicates the element type Valid values are XMLEvent.START_ELEMENT, XMLEvent.END_ELEMENT, XMLEvent.PROCESSING_INSTRUCTION, XMLEvent.CHARACTER_DATA, XMLEvent.COMMENT, XMLEvent.SPACE, XMLEvent.START_PREFIX_MAPPING, XMLEvent.END_PREFIX_MAPPING, XMLEvent.CHANGE_PREFIX_MAPPING, XMLEvent.ENTITY_REFERENCE

Since:
XMLInputStream 1.0
See Also:
XMLInputStream, XMLOutputStream, XMLInputStreamFilter, XMLEvent

Field Summary
protected  int type
          Deprecated.  
 
Constructor Summary
TypeFilter(int type)
          Deprecated.  
 
Method Summary
 boolean accept(XMLEvent e)
          Deprecated. tests whether this event is part of this stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected int type
Deprecated. 
Constructor Detail

TypeFilter

public TypeFilter(int type)
Deprecated. 
Method Detail

accept

public boolean accept(XMLEvent e)
Deprecated. 
Description copied from interface: ElementFilter
tests whether this event is part of this stream

Specified by:
accept in interface ElementFilter

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111
Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Part Number E13941-01
Oracle WebLogic Server 10.3.1 API Reference