|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FlexGeneratorHandler
Interface that must be implemented in order to add an handler to the generator.
| Method Summary | |
|---|---|
ClassType |
getClassType()
Return the type of generated class of this handler. |
java.lang.Class<?> |
getCurrentClass()
Return he class which the generator is parsing. |
void |
handleClassBegin(java.lang.Class<?> clazz)
Invoked when the generator begin a new class. |
void |
handleClassEnd(java.lang.Class<?> clazz)
Invoked when the generator have finished to parse every properties of the current class. |
void |
handleProperty(java.beans.PropertyDescriptor property)
Invoked for each property found on the Java entity. |
void |
setGenerator(FlexGenerator generator)
Set the current generator. |
| Method Detail |
|---|
void handleClassBegin(java.lang.Class<?> clazz)
clazz - The class which the generator is parsing.void handleProperty(java.beans.PropertyDescriptor property)
property - The PropertyDescriptor of the current property.void handleClassEnd(java.lang.Class<?> clazz)
Invoked when the generator have finished to parse every properties of the current class.
clazz - The class which the generator is parsing.void setGenerator(FlexGenerator generator)
Set the current generator. Invoked when this handler is added to the generator.
generator - java.lang.Class<?> getCurrentClass()
ClassType getClassType()
ClassType
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||