com.sun.jersey.json.impl
Class JSONUnmarshallerImpl
java.lang.Object
com.sun.jersey.json.impl.BaseJSONUnmarshaller
com.sun.jersey.json.impl.JSONUnmarshallerImpl
- All Implemented Interfaces:
- JSONConfigurated, JSONUnmarshaller, Unmarshaller
public class JSONUnmarshallerImpl
- extends BaseJSONUnmarshaller
- implements Unmarshaller
- Author:
- Jakub.Podlesak@Sun.COM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONUnmarshallerImpl
public JSONUnmarshallerImpl(JAXBContext jaxbContext,
JSONConfiguration jsonConfig)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(File file)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(InputStream inputStream)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(Reader reader)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(URL url)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(InputSource inputSource)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(Node node)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public <T> JAXBElement<T> unmarshal(Node node,
Class<T> type)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(Source source)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public <T> JAXBElement<T> unmarshal(Source source,
Class<T> type)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(XMLStreamReader xmlStreamReader)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public <T> JAXBElement<T> unmarshal(XMLStreamReader xmlStreamReader,
Class<T> type)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public Object unmarshal(XMLEventReader xmlEventReader)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
unmarshal
public <T> JAXBElement<T> unmarshal(XMLEventReader xmlEventReader,
Class<T> type)
throws JAXBException
- Specified by:
unmarshal
in interface Unmarshaller
- Throws:
JAXBException
getUnmarshallerHandler
public UnmarshallerHandler getUnmarshallerHandler()
- Specified by:
getUnmarshallerHandler
in interface Unmarshaller
setValidating
public void setValidating(boolean validating)
throws JAXBException
- Specified by:
setValidating
in interface Unmarshaller
- Throws:
JAXBException
isValidating
public boolean isValidating()
throws JAXBException
- Specified by:
isValidating
in interface Unmarshaller
- Throws:
JAXBException
setEventHandler
public void setEventHandler(ValidationEventHandler validationEventHandler)
throws JAXBException
- Specified by:
setEventHandler
in interface Unmarshaller
- Throws:
JAXBException
getEventHandler
public ValidationEventHandler getEventHandler()
throws JAXBException
- Specified by:
getEventHandler
in interface Unmarshaller
- Throws:
JAXBException
setProperty
public void setProperty(String key,
Object value)
throws PropertyException
- Specified by:
setProperty
in interface Unmarshaller
- Throws:
PropertyException
getProperty
public Object getProperty(String key)
throws PropertyException
- Specified by:
getProperty
in interface Unmarshaller
- Throws:
PropertyException
setSchema
public void setSchema(Schema schema)
- Specified by:
setSchema
in interface Unmarshaller
getSchema
public Schema getSchema()
- Specified by:
getSchema
in interface Unmarshaller
setAdapter
public void setAdapter(XmlAdapter xmlAdapter)
- Specified by:
setAdapter
in interface Unmarshaller
setAdapter
public <A extends XmlAdapter> void setAdapter(Class<A> type,
A adapter)
- Specified by:
setAdapter
in interface Unmarshaller
getAdapter
public <A extends XmlAdapter> A getAdapter(Class<A> type)
- Specified by:
getAdapter
in interface Unmarshaller
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
- Specified by:
setAttachmentUnmarshaller
in interface Unmarshaller
getAttachmentUnmarshaller
public AttachmentUnmarshaller getAttachmentUnmarshaller()
- Specified by:
getAttachmentUnmarshaller
in interface Unmarshaller
setListener
public void setListener(Unmarshaller.Listener listener)
- Specified by:
setListener
in interface Unmarshaller
getListener
public Unmarshaller.Listener getListener()
- Specified by:
getListener
in interface Unmarshaller
Copyright © 2013 Oracle Corporation. All Rights Reserved.