public final class WstxEventFactory
extends org.codehaus.stax2.ri.Stax2EventFactoryImpl
XMLEventFactory
to be used with
Woodstox. Contains minimal additions on top of Stax2 RI.Constructor and Description |
---|
WstxEventFactory() |
Modifier and Type | Method and Description |
---|---|
DTD |
createDTD(String dtd)
Note: constructing DTD events this way means that there will be no
internal presentation of actual DTD; no parsing is implied by
construction.
|
protected QName |
createQName(String nsURI,
String localName) |
protected QName |
createQName(String nsURI,
String localName,
String prefix) |
protected StartElement |
createStartElement(QName name,
Iterator<?> attr,
Iterator<?> ns,
NamespaceContext ctxt)
Must override this method to use a more efficient StartElement
implementation
|
createAttribute, createAttribute, createAttribute, createCData, createCharacters, createComment, createDTD, createDTD, createEndDocument, createEndElement, createEndElement, createEndElement, createEntityReference, createIgnorableSpace, createNamespace, createNamespace, createProcessingInstruction, createSpace, createStartDocument, createStartDocument, createStartDocument, createStartDocument, createStartElement, createStartElement, createStartElement, createStartElement, setLocation
newFactory, newFactory, newInstance, newInstance
public DTD createDTD(String dtd)
createDTD
in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
protected QName createQName(String nsURI, String localName)
createQName
in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
protected QName createQName(String nsURI, String localName, String prefix)
createQName
in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
protected StartElement createStartElement(QName name, Iterator<?> attr, Iterator<?> ns, NamespaceContext ctxt)
createStartElement
in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
Copyright © 2012–2015 FasterXML. All rights reserved.