org.omnaest.utils.xml
Class JAXBXMLHelper.UnmarshallingConfiguration

java.lang.Object
  extended by org.omnaest.utils.xml.JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
      extended by org.omnaest.utils.xml.JAXBXMLHelper.UnmarshallingConfiguration
Enclosing class:
JAXBXMLHelper

public static class JAXBXMLHelper.UnmarshallingConfiguration
extends JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase

Author:
Omnaest

Nested Class Summary
static class JAXBXMLHelper.UnmarshallingConfiguration.Configurator
          A JAXBXMLHelper.UnmarshallingConfiguration.Configurator is able to configure several internal instances like SAXParserFactory, JAXBContext, Unmarshaller.
 
Field Summary
 
Fields inherited from class org.omnaest.utils.xml.JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
encoding, exceptionHandler, knownTypes
 
Constructor Summary
JAXBXMLHelper.UnmarshallingConfiguration()
           
JAXBXMLHelper.UnmarshallingConfiguration(String encoding, ExceptionHandler exceptionHandler, Class<?>[] knownTypes)
           
 
Method Summary
static JAXBXMLHelper.UnmarshallingConfiguration defaultUnmarshallingConfiguration(JAXBXMLHelper.UnmarshallingConfiguration unmarshallingConfiguration)
          Returns a new JAXBXMLHelper.UnmarshallingConfiguration if a null reference is given, otherwise the given instance.
 JAXBXMLHelper.UnmarshallingConfiguration.Configurator getConfigurator()
           
 JAXBXMLHelper.UnmarshallingConfiguration setConfigurator(JAXBXMLHelper.UnmarshallingConfiguration.Configurator configurator)
           
 JAXBXMLHelper.UnmarshallingConfiguration setEncoding(String encoding)
           
 JAXBXMLHelper.UnmarshallingConfiguration setExceptionHandler(ExceptionHandler exceptionHandler)
           
 JAXBXMLHelper.UnmarshallingConfiguration setKnownTypes(Class<?>... knownTypes)
           
 String toString()
           
 
Methods inherited from class org.omnaest.utils.xml.JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
getEncoding, getExceptionHandler, getKnownTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXBXMLHelper.UnmarshallingConfiguration

public JAXBXMLHelper.UnmarshallingConfiguration()
See Also:
JAXBXMLHelper.UnmarshallingConfiguration

JAXBXMLHelper.UnmarshallingConfiguration

public JAXBXMLHelper.UnmarshallingConfiguration(String encoding,
                                                ExceptionHandler exceptionHandler,
                                                Class<?>[] knownTypes)
Parameters:
encoding -
exceptionHandler -
knownTypes -
See Also:
JAXBXMLHelper.UnmarshallingConfiguration
Method Detail

defaultUnmarshallingConfiguration

public static JAXBXMLHelper.UnmarshallingConfiguration defaultUnmarshallingConfiguration(JAXBXMLHelper.UnmarshallingConfiguration unmarshallingConfiguration)
Returns a new JAXBXMLHelper.UnmarshallingConfiguration if a null reference is given, otherwise the given instance.

Parameters:
unmarshallingConfiguration -
Returns:

toString

public String toString()
Overrides:
toString in class Object

setEncoding

public JAXBXMLHelper.UnmarshallingConfiguration setEncoding(String encoding)
Overrides:
setEncoding in class JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
Parameters:
encoding - the encoding to set
Returns:
this

setExceptionHandler

public JAXBXMLHelper.UnmarshallingConfiguration setExceptionHandler(ExceptionHandler exceptionHandler)
Overrides:
setExceptionHandler in class JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
Parameters:
exceptionHandler - ExceptionHandler
Returns:
this

setKnownTypes

public JAXBXMLHelper.UnmarshallingConfiguration setKnownTypes(Class<?>... knownTypes)
Overrides:
setKnownTypes in class JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
Parameters:
knownTypes - the knownTypes to set
Returns:
this

setConfigurator

public JAXBXMLHelper.UnmarshallingConfiguration setConfigurator(JAXBXMLHelper.UnmarshallingConfiguration.Configurator configurator)
Parameters:
configurator - JAXBXMLHelper.UnmarshallingConfiguration.Configurator
Returns:

getConfigurator

public JAXBXMLHelper.UnmarshallingConfiguration.Configurator getConfigurator()
Returns:


Copyright © 2013. All Rights Reserved.