com.jsftoolkit.base.renderer.VarTextEvent Maven / Gradle / Ivy
Go to download
The core classes for the JSF Toolkit Component Framework. Includes all
framework base and utility classes as well as component
kick-start/code-generation and registration tools.
Also includes some classes for testing that are reused in other projects.
They cannot be factored out into a separate project because they are
referenced by the tests and they reference this code (circular
dependence).
The newest version!
package com.jsftoolkit.base.renderer;
import com.jsftoolkit.utils.xmlpull.PullEvent;
/**
* Signals that a component property should be output as text.
*
* @author noah
*
*/
public class VarTextEvent implements PullEvent {
public static final int TYPE = 5;
private final String property;
private final String defaultValue;
public VarTextEvent(final String property, final String defaultValue) {
super();
this.property = property;
this.defaultValue = defaultValue;
}
public String getDefaultValue() {
return defaultValue;
}
public String getProperty() {
return property;
}
public short getType() {
return TYPE;
}
}