org.glassfish.jersey.jettison.internal
Class Stax2JettisonFactory

java.lang.Object
  extended by org.glassfish.jersey.jettison.internal.Stax2JettisonFactory

public class Stax2JettisonFactory
extends Object

Factory for creating JSON-enabled StAX readers and writers.

Author:
Jakub Podlesak (jakub.podlesak at oracle.com), Michal Gajdos (michal.gajdos at oracle.com)

Method Summary
static XMLStreamReader createReader(Reader reader, JettisonConfig config)
           
static XMLStreamWriter createWriter(Writer writer, JettisonConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createWriter

public static XMLStreamWriter createWriter(Writer writer,
                                           JettisonConfig config)
                                    throws IOException
Throws:
IOException

createReader

public static XMLStreamReader createReader(Reader reader,
                                           JettisonConfig config)
                                    throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.