Method from javax.faces.component._ComponentAttributesMap Detail: |
public void clear() {
_attributes.clear();
}
|
public boolean containsKey(Object key) {
checkKey(key);
if (getPropertyDescriptor((String)key) == null)
{
return _attributes.containsKey(key);
}
else
{
return false;
}
}
|
public boolean containsValue(Object value) {
return _attributes.containsValue(value);
}
|
public Set entrySet() {
return _attributes.entrySet();
}
|
public boolean equals(Object obj) {
return _attributes.equals(obj);
}
|
public Object get(Object key) {
checkKey(key);
PropertyDescriptor propertyDescriptor
= getPropertyDescriptor((String)key);
if (propertyDescriptor != null)
{
return getComponentProperty(propertyDescriptor);
}
Object mapValue = _attributes.get(key);
if (mapValue != null)
{
return mapValue;
}
ValueBinding vb = _component.getValueBinding((String) key);
if (vb != null)
{
return vb.getValue(FacesContext.getCurrentInstance());
}
return null;
}
|
Map getUnderlyingMap() {
return _attributes;
}
|
public int hashCode() {
return _attributes.hashCode();
}
|
public boolean isEmpty() {
return _attributes.isEmpty();
}
|
public Set keySet() {
return _attributes.keySet();
}
|
public Object put(Object key,
Object value) {
checkKeyAndValue(key, value);
PropertyDescriptor propertyDescriptor = getPropertyDescriptor((String)key);
if (propertyDescriptor != null)
{
if (propertyDescriptor.getReadMethod() != null)
{
Object oldValue = getComponentProperty(propertyDescriptor);
setComponentProperty(propertyDescriptor, value);
return oldValue;
}
else
{
setComponentProperty(propertyDescriptor, value);
return null;
}
}
else
{
return _attributes.put(key, value);
}
}
|
public void putAll(Map t) {
for (Iterator it = t.entrySet().iterator(); it.hasNext(); )
{
Map.Entry entry = (Entry)it.next();
put(entry.getKey(), entry.getValue());
}
}
|
public Object remove(Object key) {
checkKey(key);
PropertyDescriptor propertyDescriptor = getPropertyDescriptor((String)key);
if (propertyDescriptor != null)
{
throw new IllegalArgumentException("Cannot remove component property attribute");
}
return _attributes.remove(key);
}
|
public int size() {
return _attributes.size();
}
|
public Collection values() {
return _attributes.values();
}
|