jaxx.compiler.binding
Class DefaultJAXXBindingWriter
java.lang.Object
jaxx.compiler.binding.AbstractJAXXBindingWriter<DefaultJAXXBinding>
jaxx.compiler.binding.DefaultJAXXBindingWriter
- All Implemented Interfaces:
- JAXXBindingWriter<DefaultJAXXBinding>
public class DefaultJAXXBindingWriter
- extends AbstractJAXXBindingWriter<DefaultJAXXBinding>
Created: 5 déc. 2009
- Version:
- $Revision: 1847 $
Mise a jour: $Date: 2010-04-16 14:27:48 +0200 (ven., 16 avril 2010) $ par :
$Author: tchemit $
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultJAXXBindingWriter
public DefaultJAXXBindingWriter()
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.
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
getConstructorParams
protected String getConstructorParams(DataBinding binding,
DataListener[] trackers)
- Specified by:
getConstructorParams in class AbstractJAXXBindingWriter<DefaultJAXXBinding>
Copyright © 2008-2010 CodeLutin. All Rights Reserved.