Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 8.1 API Reference

## weblogic.xml.stream.util
Class TypeFilter

    java.lang.Object
      |
      +--weblogic.xml.stream.util.TypeFilter

public class TypeFilter
extends java.lang.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

Author:
  Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
See Also:
  `XMLInputStream`, `XMLOutputStream`, `XMLInputStreamFilter`, `XMLEvent`

Field Summary
`protected int` | `type`

Constructor Summary
`TypeFilter(int type)`

Method Summary
`boolean` | `accept(XMLEvent e)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### type

    protected int type

Constructor Detail

### TypeFilter

    public TypeFilter(int type)

Method Detail

### accept

    public boolean accept(XMLEvent e)

  Specified by:
    accept in interface ElementFilter

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs81
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD