AttributeSet parentSet = element_parent.getAttributes(); if (parentSet != null) result = parentSet.getAttribute(key);
AttributeSet resParent = getResolveParent(); if (resParent != null) result = resParent.getAttribute(key);
    public Object getAttribute(Object key)    {      Object result = attributes.getAttribute(key);      if (result == null && element_parent != null)        {          AttributeSet parentSet = element_parent.getAttributes();          if (parentSet != null)            result = parentSet.getAttribute(key);        }      return result;    }