public class ComponentAttribute extends Object implements Comparable<ComponentAttribute>
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentAttribute.Kind |
| Constructor and Description |
|---|
ComponentAttribute(String htmlAttributeName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ComponentAttribute o) |
static Map<String,ComponentAttribute> |
createMap(ComponentAttribute... attributes) |
String |
getComponentAttributeName() |
Object |
getDefaultValue()
|
String[] |
getEventNames() |
String |
getHtmlAttributeName() |
ComponentAttribute.Kind |
getKind()
|
ComponentAttribute |
setComponentAttributeName(String componentAttributeName) |
void |
setDefaultValue(Object dafaultValue)
|
ComponentAttribute |
setEventNames(String... eventNames) |
void |
setKind(ComponentAttribute.Kind kind)
|
public ComponentAttribute(String htmlAttributeName)
public Object getDefaultValue()
public void setDefaultValue(Object dafaultValue)
defaultValue - the defaultValue to setpublic ComponentAttribute.Kind getKind()
public void setKind(ComponentAttribute.Kind kind)
kind - the kind to setpublic static final Map<String,ComponentAttribute> createMap(ComponentAttribute... attributes)
public String getHtmlAttributeName()
public String getComponentAttributeName()
public ComponentAttribute setComponentAttributeName(String componentAttributeName)
componentAttributeName - the componentAttributeName to setpublic String[] getEventNames()
public ComponentAttribute setEventNames(String... eventNames)
eventNames - the eventNames to setpublic int compareTo(ComponentAttribute o)
compareTo in interface Comparable<ComponentAttribute>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.