com.ctc.wstx.sr.StreamReaderImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodstox-core Show documentation
Show all versions of woodstox-core Show documentation
Woodstox is a high-performance XML processor that implements Stax (JSR-173),
SAX2 and Stax2 APIs
package com.ctc.wstx.sr;
import javax.xml.stream.*;
import org.codehaus.stax2.XMLStreamReader2;
import com.ctc.wstx.ent.EntityDecl;
/**
* Interface that defines "internal Woodstox API". It is used to decouple
* parts of the Woodstox that need to know something more about woodstox
* stream reader implementation, but not about implementation details.
* Specifically, there are some simple dependencies from the stream
* writer; they should only need to refer to this interface.
*/
public interface StreamReaderImpl
extends XMLStreamReader2
{
public EntityDecl getCurrentEntityDecl();
public Object withStartElement(ElemCallback cb, Location loc);
public boolean isNamespaceAware();
public AttributeCollector getAttributeCollector();
public InputElementStack getInputElementStack();
}