Class UnmarshalCallback
- java.lang.Object
-
- org.eclipse.persistence.jaxb.compiler.UnmarshalCallback
-
public class UnmarshalCallback extends java.lang.Object
INTERNAL: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.
- Since:
- Oracle TopLink 11.1.1.0.0
- Author:
- mmacivor
- See Also:
JAXBUnmarshalListener
,JAXBUnmarshaller
-
-
Constructor Summary
Constructors Constructor Description UnmarshalCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Method
getAfterUnmarshalCallback()
java.lang.reflect.Method
getBeforeUnmarshalCallback()
java.lang.Class
getDomainClass()
void
initialize(java.lang.ClassLoader loader)
void
setAfterUnmarshalCallback(java.lang.reflect.Method method)
Should not use this method - the init method will overwrite the set value.void
setBeforeUnmarshalCallback(java.lang.reflect.Method method)
Should not use this method - the init method will overwrite the set value.void
setDomainClass(java.lang.Class clazz)
Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)void
setDomainClassName(java.lang.String className)
void
setHasAfterUnmarshalCallback()
void
setHasBeforeUnmarshalCallback()
-
-
-
Method Detail
-
getAfterUnmarshalCallback
public java.lang.reflect.Method getAfterUnmarshalCallback()
-
getBeforeUnmarshalCallback
public java.lang.reflect.Method getBeforeUnmarshalCallback()
-
getDomainClass
public java.lang.Class getDomainClass()
-
initialize
public void initialize(java.lang.ClassLoader loader)
- Parameters:
loader
-
-
setAfterUnmarshalCallback
public void setAfterUnmarshalCallback(java.lang.reflect.Method method)
Should not use this method - the init method will overwrite the set value.
-
setHasAfterUnmarshalCallback
public void setHasAfterUnmarshalCallback()
-
setBeforeUnmarshalCallback
public void setBeforeUnmarshalCallback(java.lang.reflect.Method method)
Should not use this method - the init method will overwrite the set value.
-
setHasBeforeUnmarshalCallback
public void setHasBeforeUnmarshalCallback()
-
setDomainClass
public void setDomainClass(java.lang.Class clazz)
Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)- Parameters:
clazz
-
-
setDomainClassName
public void setDomainClassName(java.lang.String className)
-
-