org.codehaus.stax2.evt.XMLEventFactory2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stax2-api Show documentation
Show all versions of stax2-api Show documentation
Stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API.
package org.codehaus.stax2.evt;
import javax.xml.stream.XMLEventFactory;
/**
* Interface that adds missing (but required) methods to
* {@link XMLEventFactory}; especially ones for creating actual
* well-behaving DOCTYPE events.
*/
public abstract class XMLEventFactory2
extends XMLEventFactory
{
protected XMLEventFactory2() {
super();
}
public abstract DTD2 createDTD(String rootName, String sysId, String pubId,
String intSubset);
public abstract DTD2 createDTD(String rootName, String sysId, String pubId,
String intSubset, Object processedDTD);
}