com.ctc.wstx.sr
Class ElemCallback

java.lang.Object
  extended by com.ctc.wstx.sr.ElemCallback
Direct Known Subclasses:
DefaultEventAllocator

public abstract class ElemCallback
extends java.lang.Object

Abstract base class that defines set of simple callbacks to be called by the stream reader, passing information about element that the stream currently points to, if any.


Constructor Summary
ElemCallback()
           
 
Method Summary
abstract  java.lang.Object withStartElement(javax.xml.stream.Location loc, javax.xml.namespace.QName name, BaseNsContext nsCtxt, ElemAttrs attrs, boolean wasEmpty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemCallback

public ElemCallback()
Method Detail

withStartElement

public abstract java.lang.Object withStartElement(javax.xml.stream.Location loc,
                                                  javax.xml.namespace.QName name,
                                                  BaseNsContext nsCtxt,
                                                  ElemAttrs attrs,
                                                  boolean wasEmpty)