private boolean noMatchForTagInAttributes(AttributeSet attr,HTML.Tag t,Object tagValue){
  if (attr != null && attr.isDefined(t)) {
    Object newValue=attr.getAttribute(t);
    if ((tagValue == null) ? (newValue == null) : (newValue != null && tagValue.equals(newValue))) {
      return false;
    }
  }
  return true;
}

private boolean noMatchForTagInAttributes ( AttributeSet attr , HTML . Tag t , Object tagValue ) { if ( attr != null && attr . isDefined ( t ) ) { Object newValue = attr . getAttribute ( t ) ; if ( ( tagValue == null ) ? ( newValue == null ) : ( newValue != null && tagValue . equals ( newValue ) ) ) { return false ; } } return true ; }
searches the attribute set for a tag , both of which are passed in as a parameter . returns true if no match is found and false otherwise .
