|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.compiler.binding.AbstractJAXXBindingWriter<DefaultJAXXBinding>
jaxx.compiler.binding.DefaultJAXXBindingWriter
public class DefaultJAXXBindingWriter
Created: 5 déc. 2009
| Field Summary |
|---|
| Fields inherited from class jaxx.compiler.binding.AbstractJAXXBindingWriter |
|---|
used |
| Constructor Summary | |
|---|---|
DefaultJAXXBindingWriter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(DataBinding binding)
Test if a binding can be treated by the writer. |
protected java.lang.String |
getConstructorParams(DataBinding binding,
DataListener[] trackers)
|
void |
write(DataBinding binding,
JavaFileGenerator generator,
java.lang.StringBuilder buffer)
Generate the creation code of the given binding and push it in the given buffer. |
| Methods inherited from class jaxx.compiler.binding.AbstractJAXXBindingWriter |
|---|
getType, isUsed, writeInvocationMethod |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJAXXBindingWriter()
| Method Detail |
|---|
public boolean accept(DataBinding binding)
JAXXBindingWriter
binding - the binding to test
true if this writer can be used to generate binding creation code, false otherwise.
public void write(DataBinding binding,
JavaFileGenerator generator,
java.lang.StringBuilder buffer)
JAXXBindingWriterbinding and push it in the given buffer.
Note: after beean in this method, the JAXXBindingWriter.isUsed() should always return true.
binding - the binding to usegenerator - common generator to build creation codebuffer - where to push creation code
protected java.lang.String getConstructorParams(DataBinding binding,
DataListener[] trackers)
getConstructorParams in class AbstractJAXXBindingWriter<DefaultJAXXBinding>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||