com.liguorien.flex.generator.writers.dom4j.methods
Class GetArrayElement
java.lang.Object
com.liguorien.flex.generator.writers.dom4j.BuilderMethodWriter
com.liguorien.flex.generator.writers.dom4j.ContextMethodWriter
com.liguorien.flex.generator.writers.dom4j.methods.GetArrayElement
- All Implemented Interfaces:
- MethodWriter<Dom4jBuilderHandler>
public class GetArrayElement
- extends ContextMethodWriter
Generates a method who builds a dom4j element from an array of basic
types. (boolean, int, String, etc...)
The generated code looks like this :
- Version:
- 0.2
- Author:
- Nicolas Désy
|
Constructor Summary |
GetArrayElement()
Creates a new instance of GetArrayElement |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GetArrayElement
public GetArrayElement()
- Creates a new instance of GetArrayElement
writeMethod
public void writeMethod(java.io.Writer w,
FlexGenerator g,
Dom4jBuilderHandler handler,
java.lang.Class<?> clazz)
throws java.io.IOException
- Description copied from interface:
MethodWriter
- Writes method signature and body to the writer
- Parameters:
w - The Writerg - The current generatorhandler - The current handlerclazz - The current clazz
- Throws:
java.io.IOException
Copyright 2006 Nicolas Désy. All rights reserved.