public class MarshalCallback
extends java.lang.Object
Purpose:Hold information about class based JAXB 2.0 Callback methods
Responsibilities:
JAXBMarshalListener
,
JAXBMarshaller
Constructor and Description |
---|
MarshalCallback() |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getAfterMarshalCallback() |
java.lang.reflect.Method |
getBeforeMarshalCallback() |
java.lang.Class |
getDomainClass() |
void |
initialize(java.lang.ClassLoader loader) |
void |
setAfterMarshalCallback(java.lang.reflect.Method method)
Should not use this method - the init method will
overwrite the set value.
|
void |
setBeforeMarshalCallback(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 |
setHasAfterMarshalCallback() |
void |
setHasBeforeMarshalCallback() |
public java.lang.reflect.Method getAfterMarshalCallback()
public java.lang.reflect.Method getBeforeMarshalCallback()
public java.lang.Class getDomainClass()
public void initialize(java.lang.ClassLoader loader)
loader
- public void setAfterMarshalCallback(java.lang.reflect.Method method)
public void setHasAfterMarshalCallback()
public void setBeforeMarshalCallback(java.lang.reflect.Method method)
public void setHasBeforeMarshalCallback()
public void setDomainClass(java.lang.Class clazz)
clazz
- public void setDomainClassName(java.lang.String className)