private boolean parseRespondWith(List respondWith){
  Iterator it=respondWith.iterator();
  while (it.hasNext()) {
    String respWith=(String)it.next();
    int index=respWith.indexOf(":");
    if ((index == -1) || (index == 0)) {
      return false;
    }
 else {
      if (!(respWith.endsWith(":AuthenticationStatement")) && (!(respWith.endsWith(":AuthorizationDecisionStatement"))) && (!(respWith.endsWith(":AttributeStatement")))) {
        return false;
      }
    }
  }
  return true;
}

private boolean parseRespondWith ( List respondWith ) { Iterator it = respondWith . iterator ( ) ; while ( it . hasNext ( ) ) { String respWith = ( String ) it . next ( ) ; int index = respWith . indexOf ( ":" ) ; if ( ( index == - 1 ) || ( index == 0 ) ) { return false ; } else { if ( ! ( respWith . endsWith ( ":AuthenticationStatement" ) ) && ( ! ( respWith . endsWith ( ":AuthorizationDecisionStatement" ) ) ) && ( ! ( respWith . endsWith ( ":AttributeStatement" ) ) ) ) { return false ; } } } return true ; }
this method takes in the list of respondwith and returns true or false based on if the contents of the respondwith element contains statement types supported by the receiver
