Module org.eclipse.persistence.moxy
Class UnmarshalCallback
- java.lang.Object
-
- org.eclipse.persistence.jaxb.compiler.UnmarshalCallback
-
public class UnmarshalCallback extends 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 MethodgetAfterUnmarshalCallback()MethodgetBeforeUnmarshalCallback()Class<?>getDomainClass()voidinitialize(ClassLoader loader)Initialize information about class based JAXB 2.0 Callback methods.voidsetAfterUnmarshalCallback(Method method)Should not use this method - the init method will overwrite the set value.voidsetBeforeUnmarshalCallback(Method method)Should not use this method - the init method will overwrite the set value.voidsetDomainClass(Class<?> clazz)Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)voidsetDomainClassName(String className)voidsetHasAfterUnmarshalCallback()voidsetHasBeforeUnmarshalCallback()
-
-
-
Method Detail
-
getAfterUnmarshalCallback
public Method getAfterUnmarshalCallback()
-
getBeforeUnmarshalCallback
public Method getBeforeUnmarshalCallback()
-
getDomainClass
public Class<?> getDomainClass()
-
initialize
public void initialize(ClassLoader loader)
Initialize information about class based JAXB 2.0 Callback methods.- Parameters:
loader- source class loader fordomainClass
-
setAfterUnmarshalCallback
public void setAfterUnmarshalCallback(Method method)
Should not use this method - the init method will overwrite the set value.
-
setHasAfterUnmarshalCallback
public void setHasAfterUnmarshalCallback()
-
setBeforeUnmarshalCallback
public void setBeforeUnmarshalCallback(Method method)
Should not use this method - the init method will overwrite the set value.
-
setHasBeforeUnmarshalCallback
public void setHasBeforeUnmarshalCallback()
-
setDomainClass
public void setDomainClass(Class<?> clazz)
Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)
-
setDomainClassName
public void setDomainClassName(String className)
-
-