|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyWriter<T extends FlexGeneratorHandler>
Defines a writer who generates code to access a property.
| Field Summary | |
|---|---|
static java.util.Comparator<PropertyWriter> |
COMPARATOR
Comparator used to sort a List of PropertyWriter |
| Method Summary | |
|---|---|
boolean |
acceptProperty(java.beans.PropertyDescriptor prop,
T handler)
Determines if this writer accepts to write the property |
int |
getPriority()
Returns the priority for this writer. |
void |
writeProperty(java.io.Writer w,
FlexGenerator g,
T handler,
java.lang.String varName,
java.beans.PropertyDescriptor prop)
Writes code to access a property. |
| Field Detail |
|---|
static final java.util.Comparator<PropertyWriter> COMPARATOR
| Method Detail |
|---|
int getPriority()
boolean acceptProperty(java.beans.PropertyDescriptor prop,
T handler)
prop - The property to checkhandler - The current generator handler
void writeProperty(java.io.Writer w,
FlexGenerator g,
T handler,
java.lang.String varName,
java.beans.PropertyDescriptor prop)
throws java.io.IOException
w - The Writerg - The current generatorhandler - The current handlervarName - The name of variable where the property is accessedprop - The ProspectorDescriptor of the current property
java.io.IOException
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||