public class MarshalCallback extends 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 |
---|---|
Method |
getAfterMarshalCallback() |
Method |
getBeforeMarshalCallback() |
Class |
getDomainClass() |
void |
initialize(ClassLoader loader) |
void |
setAfterMarshalCallback(Method method)
Should not use this method - the init method will
overwrite the set value.
|
void |
setBeforeMarshalCallback(Method method)
Should not use this method - the init method will
overwrite the set value.
|
void |
setDomainClass(Class clazz)
Should use setDomainClassName - the init method will overwrite
the set value with Class.forName(domainClassName).
|
void |
setDomainClassName(String className) |
void |
setHasAfterMarshalCallback() |
void |
setHasBeforeMarshalCallback() |
public Method getAfterMarshalCallback()
public Method getBeforeMarshalCallback()
public Class getDomainClass()
public void initialize(ClassLoader loader)
loader
- public void setAfterMarshalCallback(Method method)
public void setHasAfterMarshalCallback()
public void setBeforeMarshalCallback(Method method)
public void setHasBeforeMarshalCallback()
public void setDomainClass(Class clazz)
clazz
- public void setDomainClassName(String className)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.