A Map of UnmarshalCallbacks are created during JAXB 2.0 Generation and are set on a JAXBUnmarshallerListener on each JAXBUnmarshaller. These callbacks are used to invoke the JAXB 2.0 Class Based callbacks on each object at the appropriate time.
- Since:
- Oracle TopLink 11.1.1.0.0
- Author:
- mmacivor
- See Also:
JAXBUnmarshalListener
, JAXBUnmarshaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domainClass
private java.lang.Class domainClass
domainClassName
private java.lang.String domainClassName
afterUnmarshalCallback
private java.lang.reflect.Method afterUnmarshalCallback
beforeUnmarshalCallback
private java.lang.reflect.Method beforeUnmarshalCallback
hasAfterUnmarshalCallback
private boolean hasAfterUnmarshalCallback
hasBeforeUnmarshalCallback
private boolean hasBeforeUnmarshalCallback
UnmarshalCallback
public UnmarshalCallback()
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)