com.jsftoolkit.utils.xmlpull.AttributeEvent 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.utils.xmlpull;
/**
* Indicates an element attribute should be output.
*
* @author noah
*/
public class AttributeEvent implements PullEvent {
public static final int TYPE = 2;
private final String name;
private final String value;
public AttributeEvent(final String name, final String value) {
super();
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
public short getType() {
return TYPE;
}
}