org.omnaest.utils.xml
Class JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase

java.lang.Object
  extended by org.omnaest.utils.xml.JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
Direct Known Subclasses:
JAXBXMLHelper.MarshallingConfiguration, JAXBXMLHelper.UnmarshallingConfiguration
Enclosing class:
JAXBXMLHelper

protected abstract static class JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase
extends Object

Configuration for the marshalling process

Author:
Omnaest

Field Summary
protected  String encoding
           
protected  ExceptionHandler exceptionHandler
           
protected  Class<?>[] knownTypes
           
 
Constructor Summary
protected JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase()
           
protected JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase(String encoding, ExceptionHandler exceptionHandler, Class<?>[] knownTypes)
           
 
Method Summary
 String getEncoding()
           
 ExceptionHandler getExceptionHandler()
           
 Class<?>[] getKnownTypes()
           
 JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase setEncoding(String encoding)
           
 JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase setExceptionHandler(ExceptionHandler exceptionHandler)
           
 JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase setKnownTypes(Class<?>... knownTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encoding

protected String encoding

exceptionHandler

protected ExceptionHandler exceptionHandler

knownTypes

protected Class<?>[] knownTypes
Constructor Detail

JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase

protected JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase()
See Also:
JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase

JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase

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

getEncoding

public String getEncoding()
Returns:
the encoding

setEncoding

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

getExceptionHandler

public ExceptionHandler getExceptionHandler()
Returns:
the exceptionHandler

setExceptionHandler

public JAXBXMLHelper.MarshallingAndUnmarshallingConfigurationAbstractBase setExceptionHandler(ExceptionHandler exceptionHandler)
Parameters:
exceptionHandler - ExceptionHandler
Returns:
this

getKnownTypes

public Class<?>[] getKnownTypes()
Returns:
the knownTypes

setKnownTypes

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


Copyright © 2013. All Rights Reserved.