com.ctc.wstx.sr.ElemCallback Maven / Gradle / Ivy
Go to download
Woodstox is a high-performance XML processor that
implements Stax (JSR-173) and SAX2 APIs
package com.ctc.wstx.sr;
import javax.xml.stream.Location;
import javax.xml.namespace.QName;
import com.ctc.wstx.util.BaseNsContext;
/**
* 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.
*/
public abstract class ElemCallback
{
public abstract Object withStartElement(Location loc, QName name,
BaseNsContext nsCtxt, ElemAttrs attrs,
boolean wasEmpty);
}