com.sun.jersey.json.impl
Class Stax2JsonFactory

java.lang.Object
  extended by com.sun.jersey.json.impl.Stax2JsonFactory

public class Stax2JsonFactory
extends Object

Author:
japod

Method Summary
static XMLStreamReader createReader(Reader reader, JSONConfiguration config, String rootName)
           
static XMLStreamReader createReader(Reader reader, JSONConfiguration config, String rootName, boolean readingList)
           
static XMLStreamWriter createWriter(Writer writer, JSONConfiguration config)
           
static XMLStreamWriter createWriter(Writer writer, JSONConfiguration config, boolean writingList)
           
 
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,
                                           JSONConfiguration config)
                                    throws IOException
Throws:
IOException

createWriter

public static XMLStreamWriter createWriter(Writer writer,
                                           JSONConfiguration config,
                                           boolean writingList)
                                    throws IOException
Throws:
IOException

createReader

public static XMLStreamReader createReader(Reader reader,
                                           JSONConfiguration config,
                                           String rootName)
                                    throws XMLStreamException
Throws:
XMLStreamException

createReader

public static XMLStreamReader createReader(Reader reader,
                                           JSONConfiguration config,
                                           String rootName,
                                           boolean readingList)
                                    throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2013 Oracle Corporation. All Rights Reserved.