org.omnaest.utils.xml
Class XMLIteratorFactory.JAXBTypeContentConverter<E>

java.lang.Object
  extended by org.omnaest.utils.xml.XMLIteratorFactory.JAXBTypeContentConverter<E>
Type Parameters:
E -
All Implemented Interfaces:
ElementConverter<String,E>
Enclosing class:
XMLIteratorFactory

public static class XMLIteratorFactory.JAXBTypeContentConverter<E>
extends Object
implements ElementConverter<String,E>

Author:
Omnaest

Field Summary
protected  ThreadLocalCachedElement<JAXBXMLHelper.JAXBContextBasedUnmarshaller<E>> cachedElement
           
 
Constructor Summary
XMLIteratorFactory.JAXBTypeContentConverter(Class<? extends E> type, ExceptionHandler exceptionHandler)
           
 
Method Summary
 E convert(String element)
          Transforms a single element from one type into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedElement

protected final ThreadLocalCachedElement<JAXBXMLHelper.JAXBContextBasedUnmarshaller<E>> cachedElement
Constructor Detail

XMLIteratorFactory.JAXBTypeContentConverter

public XMLIteratorFactory.JAXBTypeContentConverter(Class<? extends E> type,
                                                   ExceptionHandler exceptionHandler)
Parameters:
type -
exceptionHandler -
See Also:
XMLIteratorFactory.JAXBTypeContentConverter
Method Detail

convert

public E convert(String element)
Description copied from interface: ElementConverter
Transforms a single element from one type into another.

Specified by:
convert in interface ElementConverter<String,E>
Returns:
converted element


Copyright © 2013. All Rights Reserved.