public String findAttribute(String name) {

        if (attributes == null)
            return (null);
        else
            return (attributes.get(name));

    }
public String findAttribute(String name) {

        if (attributes == null)
            return (null);
        else
            return (attributes.get(name));

    }
public String findAttribute ( String name ) { if ( attributes == null ) return ( null ) ; else return ( attributes . get ( name ) ) ; }
Return the value of the specified node attribute if it exists, or
<code>null</code> otherwise.

@param name Name of the requested attribute
Return the value of the specified node attribute if it exists or <code > null< / code > otherwise .