|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodWriter<T extends FlexGeneratorHandler>
Defines a writer who generates an entire method.
| Field Summary | |
|---|---|
static java.util.Comparator<MethodWriter> |
COMPARATOR
Comparator used to sort a List of MethodWriter |
| Method Summary | |
|---|---|
boolean |
acceptClass(java.lang.Class<?> clazz)
Determines if this writer accepts a class. |
int |
getPriority()
Returns the priority for this writer. |
void |
writeMethod(java.io.Writer w,
FlexGenerator g,
T handler,
java.lang.Class<?> clazz)
Writes method signature and body to the writer |
| Field Detail |
|---|
static final java.util.Comparator<MethodWriter> COMPARATOR
| Method Detail |
|---|
boolean acceptClass(java.lang.Class<?> clazz)
clazz - The class to check
void writeMethod(java.io.Writer w,
FlexGenerator g,
T handler,
java.lang.Class<?> clazz)
throws java.io.IOException
w - The Writerg - The current generatorhandler - The current handlerclazz - The current clazz
java.io.IOExceptionint getPriority()
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||