org.apache.poi.util
Class StaxHelper

java.lang.Object
  extended by org.apache.poi.util.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()
          Creates a new StAX XMLEventFactory, with sensible defaults
static javax.xml.stream.XMLInputFactory newXMLInputFactory()
          Creates a new StAX XMLInputFactory, with sensible defaults
static javax.xml.stream.XMLOutputFactory newXMLOutputFactory()
          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()
Creates a new StAX XMLInputFactory, with sensible defaults


newXMLOutputFactory

public static javax.xml.stream.XMLOutputFactory newXMLOutputFactory()
Creates a new StAX XMLOutputFactory, with sensible defaults


newXMLEventFactory

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