| java.lang.Object jaxx.compiler.DataBinding
DataBinding | public class DataBinding (Code) | | Represents a data binding in a JAXX file. DataBinding uses
DataSource to
track changes to a source expression and update the destination.
|
Method Summary | |
public boolean | compile(boolean quickNoDependencies) Compiles the data binding expression. | public String | getId() |
DataBinding | public DataBinding(String source, String dest, String assignment, JAXXCompiler compiler)(Code) | | Creates a new data binding.
Parameters: source - the Java source code for the data binding expression Parameters: dest - the data binding destination in the form <id>.<propertyName> Parameters: assignment - Java snippet which will cause the destination property to be updated with the current value of the binding Parameters: compiler - the current JAXXCompiler |
compile | public boolean compile(boolean quickNoDependencies) throws CompilerException(Code) | | Compiles the data binding expression. This method calls methods in JAXXCompiler
to add the Java code that performs the data binding setup.
Parameters: quickNoDependencies - true to optimize bindings with no dependencies by simply running them at startup time true if the expression has dependencies, false otherwise throws: CompilerException - if a compilation error occurs |
|
|