Download Sources

com.liguorien.flex.generator.writers.dom4j
Class BuilderMethodWriter

java.lang.Object
  extended by com.liguorien.flex.generator.writers.dom4j.BuilderMethodWriter
All Implemented Interfaces:
MethodWriter<Dom4jBuilderHandler>
Direct Known Subclasses:
ContextMethodWriter, GetElement, GetEntityCollection, GetEntityCollectionElement, GetEntityMapElement, GetInstance, GetMapElement

public abstract class BuilderMethodWriter
extends java.lang.Object
implements MethodWriter<Dom4jBuilderHandler>

Version:
0.2
Author:
Nicolas Désy

Field Summary
 
Fields inherited from interface com.liguorien.flex.generator.writers.MethodWriter
COMPARATOR
 
Constructor Summary
BuilderMethodWriter()
           
 
Method Summary
 boolean acceptClass(java.lang.Class<?> clazz)
          Determines if this writer accepts a class.
 int getPriority()
          Returns the priority for this writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liguorien.flex.generator.writers.MethodWriter
writeMethod
 

Constructor Detail

BuilderMethodWriter

public BuilderMethodWriter()
Method Detail

acceptClass

public boolean acceptClass(java.lang.Class<?> clazz)
Description copied from interface: MethodWriter
Determines if this writer accepts a class.

Specified by:
acceptClass in interface MethodWriter<Dom4jBuilderHandler>
Parameters:
clazz - The class to check
Returns:
a boolean which indicated if the writer accepts the class

getPriority

public int getPriority()
Description copied from interface: MethodWriter
Returns the priority for this writer. Writer with the highest value will be the first executed.

Specified by:
getPriority in interface MethodWriter<Dom4jBuilderHandler>
Returns:
The priority for this writer

FlexGenerator

Copyright 2006 Nicolas Désy. All rights reserved.