| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: Index of the newly added attribute.Method that can be used to add a new attribute value for an attribute that was not yet contained by the container, as part of using attribute default value mechanism. |
| public int | Returns: Number of atributes container contains currently. Can be used to determine the index number for the next attribute to be added.
|
| addDefaultAttribute | back to summary |
|---|---|
| public int addDefaultAttribute(String localName, String uri, String prefix, String value) Method that can be used to add a new attribute value for an attribute that was not yet contained by the container, as part of using attribute default value mechanism. Note caller has to ensure that the addition would not introduce a duplicate; attribute container implementation is not required to do any validation on attribute name (local name, prefix, uri) or value.
| |
| getAttributeCount | back to summary |
|---|---|
public int getAttributeCount()
| |