1 /*2 * Copyright (c) 1998-2006 Caucho Technology -- all rights reserved3 *4 * This file is part of Resin(R) Open Source5 *6 * Each copy or derived work must preserve the copyright notice and this7 * notice unmodified.8 *9 * Resin Open Source is free software; you can redistribute it and/or modify10 * it under the terms of the GNU General Public License as published by11 * the Free Software Foundation; either version 2 of the License, or12 * (at your option) any later version.13 *14 * Resin Open Source is distributed in the hope that it will be useful,15 * but WITHOUT ANY WARRANTY; without even the implied warranty of16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty17 * of NON-INFRINGEMENT. See the GNU General Public License for more18 * details.19 *20 * You should have received a copy of the GNU General Public License21 * along with Resin Open Source; if not, write to the22 *23 * Free Software Foundation, Inc.24 * 59 Temple Place, Suite 33025 * Boston, MA 02111-1307 USA26 *27 * @author Adam Megacz28 */29 30 package com.caucho.xml.stream;31 32 import javax.xml.stream.EventFilter;33 import javax.xml.stream.XMLEventReader;34 import javax.xml.stream.XMLStreamException;35 import javax.xml.stream.events.XMLEvent;36 37 class FilteredEventReader implements XMLEventReader {38 39 public FilteredEventReader(XMLEventReader reader,40 EventFilter filter)41 {42 throw new UnsupportedOperationException ();43 }44 45 public void close() throws XMLStreamException46 {47 throw new UnsupportedOperationException ();48 }49 50 public String getElementText() throws XMLStreamException51 {52 throw new UnsupportedOperationException ();53 }54 55 public Object getProperty(String name) throws IllegalArgumentException 56 {57 throw new UnsupportedOperationException ();58 }59 60 public boolean hasNext()61 {62 throw new UnsupportedOperationException ();63 }64 65 public XMLEvent nextEvent() throws XMLStreamException66 {67 throw new UnsupportedOperationException ();68 }69 70 public XMLEvent nextTag() throws XMLStreamException71 {72 throw new UnsupportedOperationException ();73 }74 75 public XMLEvent peek() throws XMLStreamException76 {77 throw new UnsupportedOperationException ();78 }79 80 public void remove()81 {82 throw new UnsupportedOperationException ();83 }84 85 public XMLEvent next()86 {87 throw new UnsupportedOperationException ();88 }89 90 }91