com.jsftoolkit.base.renderer.VarAttribEvent 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 java.util.List;
import com.jsftoolkit.utils.xmlpull.PullEvent;
/**
* Signals that an attribute should be rendered that contains 1 or more variable
* substitutions.
*
* @author noah
*
*/
public class VarAttribEvent implements PullEvent {
public static final short TYPE = 3;
private final List properties;
private final List defaultValues;
private final String pattern;
private String name;
public VarAttribEvent(String name, String pattern, List properties,
List defaultValues) {
this.name = name;
this.pattern = pattern;
this.properties = properties;
this.defaultValues = defaultValues;
}
public List getDefaultValues() {
return defaultValues;
}
public List getProperties() {
return properties;
}
public String getPattern() {
return pattern;
}
public String getName() {
return name;
}
public short getType() {
return TYPE;
}
}