Download Sources

com.liguorien.flex.generator.writers.dom4j.methods
Class GetElement

java.lang.Object
  extended by com.liguorien.flex.generator.writers.dom4j.BuilderMethodWriter
      extended by com.liguorien.flex.generator.writers.dom4j.methods.GetElement
All Implemented Interfaces:
MethodWriter<Dom4jBuilderHandler>

public class GetElement
extends BuilderMethodWriter

Version:
0.2
Author:
Nicolas Désy

Field Summary
 
Fields inherited from interface com.liguorien.flex.generator.writers.MethodWriter
COMPARATOR
 
Constructor Summary
GetElement()
          Creates a new instance of GetElement
 
Method Summary
 void addPropertyWriter(PropertyWriter<Dom4jBuilderHandler> writer)
           
static GetElement getDefault()
           
 void writeMethod(java.io.Writer w, FlexGenerator g, Dom4jBuilderHandler handler, java.lang.Class<?> clazz)
          Writes method signature and body to the writer
 
Methods inherited from class com.liguorien.flex.generator.writers.dom4j.BuilderMethodWriter
acceptClass, getPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetElement

public GetElement()
Creates a new instance of GetElement

Method Detail

getDefault

public static GetElement getDefault()

addPropertyWriter

public void addPropertyWriter(PropertyWriter<Dom4jBuilderHandler> writer)

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 Writer
g - The current generator
handler - The current handler
clazz - The current clazz
Throws:
java.io.IOException

FlexGenerator

Copyright 2006 Nicolas Désy. All rights reserved.