org.omnaest.utils.xml
Class JAXBTypeContentConverterFactoryStAXONImpl

java.lang.Object
  extended by org.omnaest.utils.xml.JAXBTypeContentConverterFactoryStAXONImpl
All Implemented Interfaces:
XMLIteratorFactory.JAXBTypeContentConverterFactory

public class JAXBTypeContentConverterFactoryStAXONImpl
extends Object
implements XMLIteratorFactory.JAXBTypeContentConverterFactory

XMLIteratorFactory.JAXBTypeContentConverter implementation using StAXON

Author:
Omnaest

Constructor Summary
JAXBTypeContentConverterFactoryStAXONImpl()
           
 
Method Summary
<E> ElementConverter<String,E>
newElementConverter(Class<? extends E> type, ExceptionHandler exceptionHandler)
          Returns an ElementConverter which converts from a given xml content String to an Object of the given type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBTypeContentConverterFactoryStAXONImpl

public JAXBTypeContentConverterFactoryStAXONImpl()
Method Detail

newElementConverter

public <E> ElementConverter<String,E> newElementConverter(Class<? extends E> type,
                                                          ExceptionHandler exceptionHandler)
Description copied from interface: XMLIteratorFactory.JAXBTypeContentConverterFactory
Returns an ElementConverter which converts from a given xml content String to an Object of the given type

Specified by:
newElementConverter in interface XMLIteratorFactory.JAXBTypeContentConverterFactory
Parameters:
type - Class
exceptionHandler - ExceptionHandler
Returns:
new ElementConverter


Copyright © 2013. All Rights Reserved.