Class WstxEventFactory


  • public final class WstxEventFactory
    extends org.codehaus.stax2.ri.Stax2EventFactoryImpl
    Implementation of XMLEventFactory to be used with Woodstox. Contains minimal additions on top of Stax2 RI.
    • Constructor Detail

      • WstxEventFactory

        public WstxEventFactory()
    • Method Detail

      • createDTD

        public 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.
        Overrides:
        createDTD in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
      • createQName

        protected QName createQName​(String nsURI,
                                    String localName)
        Specified by:
        createQName in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
      • createQName

        protected QName createQName​(String nsURI,
                                    String localName,
                                    String prefix)
        Specified by:
        createQName in class org.codehaus.stax2.ri.Stax2EventFactoryImpl
      • createStartElement

        protected StartElement createStartElement​(QName name,
                                                  Iterator<?> attr,
                                                  Iterator<?> ns,
                                                  NamespaceContext ctxt)
        Must override this method to use a more efficient StartElement implementation
        Overrides:
        createStartElement in class org.codehaus.stax2.ri.Stax2EventFactoryImpl