org.glassfish.jersey.jettison.internal
Class Stax2JettisonFactory
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.