Class StaxHelper


  • public final class StaxHelper
    extends java.lang.Object
    Provides handy methods for working with StAX parsers and readers
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.xml.stream.XMLEventFactory newXMLEventFactory​(XmlOptionsBean options)
      Creates a new StAX XMLEventFactory, with sensible defaults
      static javax.xml.stream.XMLInputFactory newXMLInputFactory​(XmlOptionsBean options)
      Creates a new StAX XMLInputFactory, with sensible defaults
      static javax.xml.stream.XMLOutputFactory newXMLOutputFactory​(XmlOptionsBean options)
      Creates a new StAX XMLOutputFactory, with sensible defaults
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newXMLInputFactory

        public static javax.xml.stream.XMLInputFactory newXMLInputFactory​(XmlOptionsBean options)
        Creates a new StAX XMLInputFactory, with sensible defaults
      • newXMLOutputFactory

        public static javax.xml.stream.XMLOutputFactory newXMLOutputFactory​(XmlOptionsBean options)
        Creates a new StAX XMLOutputFactory, with sensible defaults
      • newXMLEventFactory

        public static javax.xml.stream.XMLEventFactory newXMLEventFactory​(XmlOptionsBean options)
        Creates a new StAX XMLEventFactory, with sensible defaults