Example usage for javax.xml.stream StreamFilter interface-usage

List of usage examples for javax.xml.stream StreamFilter interface-usage

Introduction

In this page you can find the example usage for javax.xml.stream StreamFilter interface-usage.

Usage

From source file Main.java

class MyFilter implements javax.xml.stream.StreamFilter {

    public boolean accept(XMLStreamReader reader) {
        if (!reader.isStartElement() && !reader.isEndElement()) {
            return false;
        } else {