This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.stream.util
class EventReaderDelegate

java.lang.Object extended by javax.xml.stream.util.EventReaderDelegate
All Implemented Interfaces:
XMLEventReader

public class EventReaderDelegate
extends Object
implements XMLEventReader

This is the base class for deriving an XMLEventReader filter. This class is designed to sit between an XMLEventReader and an application's XMLEventReader. By default each method does nothing but call the corresponding method on the parent interface.


Constructor Summary

          Construct an empty filter with no parent.

          Construct an filter with the specified parent.
 
Method Summary
 void

          
 String

          
 XMLEventReader

          Get the parent of this instance.
 Object

          
 boolean

          
 Object

          
 XMLEvent

          
 XMLEvent

          
 XMLEvent

          
 void

          
 void

          Set the parent of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReaderDelegate

public EventReaderDelegate()
Construct an empty filter with no parent.


EventReaderDelegate

public EventReaderDelegate(XMLEventReader reader)
Construct an filter with the specified parent.

Parameters:
reader - the parent
Method Detail

close

public void close()
           throws XMLStreamException
Throws:
XMLStreamException

getElementText

public String getElementText()
                      throws XMLStreamException
Throws:
XMLStreamException

getParent

public XMLEventReader getParent()
Get the parent of this instance.

Returns:
the parent or null if none is set

getProperty

public Object getProperty(String name)
                   throws IllegalArgumentException
Parameters:
name
Throws:
IllegalArgumentException

hasNext

public boolean hasNext()

next

public Object next()

nextEvent

public XMLEvent nextEvent()
                   throws XMLStreamException
Throws:
XMLStreamException

nextTag

public XMLEvent nextTag()
                 throws XMLStreamException
Throws:
XMLStreamException

peek

public XMLEvent peek()
              throws XMLStreamException
Throws:
XMLStreamException

remove

public void remove()

setParent

public void setParent(XMLEventReader reader)
Set the parent of this instance.

Parameters:
reader - the new parent


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.