Class UnmarshalCallback
- java.lang.Object
- 
- org.eclipse.persistence.jaxb.compiler.UnmarshalCallback
 
- 
 public class UnmarshalCallback extends java.lang.ObjectINTERNAL:Purpose:Hold information about class based JAXB 2.0 Callback methods Responsibilities: - Store information about domainClass and the callback methods
- Act as a means to integrate JAXB 2.0 Class based callbacks with TopLink OXM Listener based callbacks.
 - See Also:
- JAXBUnmarshalListener,- JAXBUnmarshaller
- Author:
- mmacivor
- Since:
- Oracle TopLink 11.1.1.0.0
 
- 
- 
Constructor SummaryConstructors Constructor Description UnmarshalCallback()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.MethodgetAfterUnmarshalCallback()java.lang.reflect.MethodgetBeforeUnmarshalCallback()java.lang.ClassgetDomainClass()voidinitialize(java.lang.ClassLoader loader)Initialize information about class based JAXB 2.0 Callback methods.voidsetAfterUnmarshalCallback(java.lang.reflect.Method method)Should not use this method - the init method will overwrite the set value.voidsetBeforeUnmarshalCallback(java.lang.reflect.Method method)Should not use this method - the init method will overwrite the set value.voidsetDomainClass(java.lang.Class clazz)Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)voidsetDomainClassName(java.lang.String className)voidsetHasAfterUnmarshalCallback()voidsetHasBeforeUnmarshalCallback()
 
- 
- 
- 
Method Detail- 
getAfterUnmarshalCallbackpublic java.lang.reflect.Method getAfterUnmarshalCallback() 
 - 
getBeforeUnmarshalCallbackpublic java.lang.reflect.Method getBeforeUnmarshalCallback() 
 - 
getDomainClasspublic java.lang.Class getDomainClass() 
 - 
initializepublic void initialize(java.lang.ClassLoader loader) Initialize information about class based JAXB 2.0 Callback methods.- Parameters:
- loader- source class loader for- domainClass
 
 - 
setAfterUnmarshalCallbackpublic void setAfterUnmarshalCallback(java.lang.reflect.Method method) Should not use this method - the init method will overwrite the set value.
 - 
setHasAfterUnmarshalCallbackpublic void setHasAfterUnmarshalCallback() 
 - 
setBeforeUnmarshalCallbackpublic void setBeforeUnmarshalCallback(java.lang.reflect.Method method) Should not use this method - the init method will overwrite the set value.
 - 
setHasBeforeUnmarshalCallbackpublic void setHasBeforeUnmarshalCallback() 
 - 
setDomainClasspublic void setDomainClass(java.lang.Class clazz) Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)- Parameters:
- clazz-
 
 - 
setDomainClassNamepublic void setDomainClassName(java.lang.String className) 
 
- 
 
-