Download Sources

com.liguorien.flex.generator.writers.as3.properties
Class BasicMapElement

java.lang.Object
  extended by com.liguorien.flex.generator.writers.as3.BuilderPropertyWriter
      extended by com.liguorien.flex.generator.writers.as3.properties.BasicMapProperty
          extended by com.liguorien.flex.generator.writers.as3.properties.BasicMapElement
All Implemented Interfaces:
PropertyWriter<FlexModelBuilderHandler>

public class BasicMapElement
extends BasicMapProperty

Version:
0.2
Author:
Nicolas Désy

Field Summary
 
Fields inherited from class com.liguorien.flex.generator.writers.as3.properties.BasicMapProperty
_entryClass, _keyClass
 
Fields inherited from interface com.liguorien.flex.generator.writers.PropertyWriter
COMPARATOR
 
Constructor Summary
BasicMapElement()
          Creates a new instance of BasicMapElement
 
Method Summary
 void writeProperty(java.io.Writer w, FlexGenerator g, FlexModelBuilderHandler handler, java.lang.String varName, java.beans.PropertyDescriptor prop)
          Writes code to access a property.
 
Methods inherited from class com.liguorien.flex.generator.writers.as3.properties.BasicMapProperty
acceptProperty, getPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMapElement

public BasicMapElement()
Creates a new instance of BasicMapElement

Method Detail

writeProperty

public void writeProperty(java.io.Writer w,
                          FlexGenerator g,
                          FlexModelBuilderHandler handler,
                          java.lang.String varName,
                          java.beans.PropertyDescriptor prop)
                   throws java.io.IOException
Description copied from interface: PropertyWriter
Writes code to access a property.

Specified by:
writeProperty in interface PropertyWriter<FlexModelBuilderHandler>
Overrides:
writeProperty in class BasicMapProperty
Parameters:
w - The Writer
g - The current generator
handler - The current handler
varName - The name of variable where the property is accessed
prop - The ProspectorDescriptor of the current property
Throws:
java.io.IOException

FlexGenerator

Copyright 2006 Nicolas Désy. All rights reserved.