public boolean isSpecified (String uri, String localName)
    {
    int index = getIndex (uri, localName);

    if (index < 0)
        throw new IllegalArgumentException (
        "No such attribute: local=" + localName
        + ", namespace=" + uri);
    return specified [index];
    }
public boolean isSpecified ( String uri , String localName ) { int index = getIndex ( uri , localName ) ; if ( index < 0 ) throw new IllegalArgumentException ( "No such attribute: local=" + localName + ", namespace=" + uri ) ; return specified [ index ] ; }
Returns the current value of an attribute's "specified" flag.

@param uri The Namespace URI, or the empty string if
the name has no Namespace URI.
@param localName The attribute's local name.
@return current flag value
@exception java.lang.IllegalArgumentException When the
supplied names do not identify an attribute.