public class AnnotationTypeProcessor extends Object implements XMLDataObject.Processor, InstanceCookie
InstanceCookie.Of
Constructor and Description |
---|
AnnotationTypeProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(FileObject xmlDO) |
void |
attachTo(XMLDataObject xmlDO)
When the XMLDataObject creates new instance of the processor,
it uses this method to attach the processor to the data object.
|
Class |
instanceClass()
The representation type that may be created as instances.
|
Object |
instanceCreate()
Create an instance.
|
String |
instanceName()
The bean name for the instance.
|
public void attachTo(XMLDataObject xmlDO)
attachTo
in interface XMLDataObject.Processor
xmlDO
- XMLDataObjectpublic void attachTo(FileObject xmlDO)
public Object instanceCreate() throws IOException, ClassNotFoundException
instanceCreate
in interface InstanceCookie
AnnotationTypeProcessor.instanceClass()
IOException
- if an I/O error occuredClassNotFoundException
- if a class was not foundpublic Class instanceClass()
instanceClass
in interface InstanceCookie
public String instanceName()
instanceName
in interface InstanceCookie