com.sun.grizzly.attributes
Class IndexedAttributeHolder.IndexedAttributeAccessorImpl
java.lang.Object
com.sun.grizzly.attributes.IndexedAttributeHolder.IndexedAttributeAccessorImpl
- All Implemented Interfaces:
- IndexedAttributeAccessor
- Enclosing class:
- IndexedAttributeHolder
protected class IndexedAttributeHolder.IndexedAttributeAccessorImpl
- extends Object
- implements IndexedAttributeAccessor
IndexedAttributeAccessor implementation.
|
Method Summary |
Object |
getAttribute(int index)
Internal method for dynamic attribute support. |
void |
setAttribute(int index,
Object value)
Internal method for dynamic attribute support. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexedAttributeHolder.IndexedAttributeAccessorImpl
protected IndexedAttributeHolder.IndexedAttributeAccessorImpl()
getAttribute
public Object getAttribute(int index)
- Internal method for dynamic attribute support.
Return the value of the attribute by index. If
the attribute with such index is not set, set it to the
default value and return the default.
- Specified by:
getAttribute in interface IndexedAttributeAccessor
setAttribute
public void setAttribute(int index,
Object value)
- Internal method for dynamic attribute support.
Set the attribute with the index to value.
- Specified by:
setAttribute in interface IndexedAttributeAccessor
Copyright © 2009 SUN Microsystems. All Rights Reserved.