org.omnaest.utils.xml
Class JAXBXMLHelper.JAXBContextBasedUnmarshaller<E>

java.lang.Object
  extended by org.omnaest.utils.xml.JAXBXMLHelper.JAXBContextBasedUnmarshaller<E>
Enclosing class:
JAXBXMLHelper

public static class JAXBXMLHelper.JAXBContextBasedUnmarshaller<E>
extends Object

Holder of a fully instantiated Unmarshaller instance

Author:
Omnaest

Constructor Summary
JAXBXMLHelper.JAXBContextBasedUnmarshaller(Unmarshaller unmarshaller, XMLReader xmlReader, ExceptionHandler exceptionHandler, String encoding, Class<E> type)
           
 
Method Summary
 E unmarshal(InputStream inputStream)
           
 E unmarshal(XMLEventReader xmlEventReader)
           
 JAXBElement<E> unmarshalAsJAXBElement(InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBXMLHelper.JAXBContextBasedUnmarshaller

public JAXBXMLHelper.JAXBContextBasedUnmarshaller(Unmarshaller unmarshaller,
                                                  XMLReader xmlReader,
                                                  ExceptionHandler exceptionHandler,
                                                  String encoding,
                                                  Class<E> type)
Parameters:
unmarshaller -
xmlReader -
exceptionHandler -
encoding -
type -
See Also:
JAXBXMLHelper.JAXBContextBasedUnmarshaller
Method Detail

unmarshal

public E unmarshal(InputStream inputStream)

unmarshalAsJAXBElement

public JAXBElement<E> unmarshalAsJAXBElement(InputStream inputStream)

unmarshal

public E unmarshal(XMLEventReader xmlEventReader)


Copyright © 2013. All Rights Reserved.