jaxx.compiler.binding.writers
Class SimpleJAXXObjectBindingWriter
java.lang.Object
jaxx.compiler.binding.writers.AbstractJAXXBindingWriter<SimpleJAXXObjectBinding>
jaxx.compiler.binding.writers.SimpleJAXXObjectBindingWriter
- All Implemented Interfaces:
- JAXXBindingWriter<SimpleJAXXObjectBinding>
public class SimpleJAXXObjectBindingWriter
- extends AbstractJAXXBindingWriter<SimpleJAXXObjectBinding>
Created: 5 déc. 2009
- Version:
- $Revision: 2225 $
Mise a jour: $Date: 2011-02-19 21:15:00 +0100 (Sat, 19 Feb 2011) $ par :
$Author: tchemit $
- Author:
- tchemit
|
Field Summary |
protected boolean |
used
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
used
protected boolean used
SimpleJAXXObjectBindingWriter
public SimpleJAXXObjectBindingWriter()
accept
public boolean accept(DataBinding binding)
- Description copied from interface:
JAXXBindingWriter
- Test if a binding can be treated by the writer.
- Parameters:
binding - the binding to test
- Returns:
true if this writer can be used to generate binding creation code, false otherwise.
getConstructorParams
protected String getConstructorParams(DataBinding binding,
DataListener[] trackers)
- Specified by:
getConstructorParams in class AbstractJAXXBindingWriter<SimpleJAXXObjectBinding>
write
public void write(DataBinding binding,
JavaFileGenerator generator,
StringBuilder buffer)
- Description copied from interface:
JAXXBindingWriter
- Generate the creation code of the given
binding and push it in the given buffer.
Note: after beean in this method, the JAXXBindingWriter.isUsed() should always return true.
- Parameters:
binding - the binding to usegenerator - common generator to build creation codebuffer - where to push creation code
Copyright © 2008-2012 CodeLutin. All Rights Reserved.