|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liguorien.flex.generator.handlers.AbstractGeneratorHandler<FlexModelHandler>
com.liguorien.flex.generator.handlers.FlexModelHandler
public class FlexModelHandler
Generates ActionScript version of the Java entities.
| Constructor Summary | |
|---|---|
FlexModelHandler()
create a new instance of FlexModelHandler |
|
| Method Summary | |
|---|---|
protected void |
appendExtension(java.lang.StringBuilder buffer)
Append ".as" |
ClassType |
getClassType()
Get the ClassType for this handler. |
ClassWriter |
getClassWriter()
Get the ClassWriter of this handler. |
java.lang.String |
getDefaultEvent()
Return the default event for bindable properties. |
java.io.File |
getOutputDirectory()
Return the output directory of this handler |
void |
handleClassBegin(java.lang.Class<?> clazz)
Invoked when the generator begin a new class. |
boolean |
isBindingEverything()
Determine if all properties of the class should be bindable |
| Methods inherited from class com.liguorien.flex.generator.handlers.AbstractGeneratorHandler |
|---|
addContextMethodWriter, addImport, addMethodWriter, addPropertyWriter, appendClassPrefix, appendClassSuffix, clearImports, getAttributes, getClassName, getContextMethodWriters, getCurrentClass, getElements, getGenerator, getImports, getMethodWriters, getPropertyWriters, getRelativeFilePath, getWriter, handleClassBegin, handleClassEnd, handleClassEnd, handleProperty, initWriter, resetImports, setGenerator, setWriter, writeClassName, writeDocumentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlexModelHandler()
| Method Detail |
|---|
public boolean isBindingEverything()
public java.lang.String getDefaultEvent()
Return the default event for bindable properties. It's declared on the
Java entity class with the FlexBindable annotation.
public ClassType getClassType()
AbstractGeneratorHandlerGet the ClassType for this handler.
getClassType in interface FlexGeneratorHandlergetClassType in class AbstractGeneratorHandler<FlexModelHandler>ClassType.CLIENT_ENTITIESClassTypepublic void handleClassBegin(java.lang.Class<?> clazz)
FlexGeneratorHandler
clazz - The class which the generator is parsing.public java.io.File getOutputDirectory()
AbstractGeneratorHandlerReturn the output directory of this handler
getOutputDirectory in class AbstractGeneratorHandler<FlexModelHandler>protected void appendExtension(java.lang.StringBuilder buffer)
appendExtension in class AbstractGeneratorHandler<FlexModelHandler>buffer - The buffer which the extension must be appended.public ClassWriter getClassWriter()
AbstractGeneratorHandlerGet the ClassWriter of this handler.
getClassWriter in class AbstractGeneratorHandler<FlexModelHandler>AS3Writer.getContextWriter()ClassWriter
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||