public boolean isElement(String requestPrefix,String requestedElementName){
  if ((requestPrefix != null) && (requestedElementName != null)) {
    if ((requestPrefix.compareToIgnoreCase(prefix) == 0) && (requestedElementName.compareToIgnoreCase(elementName) == 0)) {
      return true;
    }
  }
  return false;
}

public boolean isElement ( String requestPrefix , String requestedElementName ) { if ( ( requestPrefix != null ) && ( requestedElementName != null ) ) { if ( ( requestPrefix . compareToIgnoreCase ( prefix ) == 0 ) && ( requestedElementName . compareToIgnoreCase ( elementName ) == 0 ) ) { return true ; } } return false ; }
checks if this element matches the requested .
