org.apache.xmlbeans.impl.common
Class StaxHelper

java.lang.Object
  extended by org.apache.xmlbeans.impl.common.StaxHelper

public final class StaxHelper
extends java.lang.Object

Provides handy methods for working with StAX parsers and readers


Method Summary
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
clone, equals, finalize, 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