protected List extractDiscoveryInformation(XRDS xrds,XriIdentifier identifier,Resolver xriResolver) throws DiscoveryException {
  ArrayList endpoints=new ArrayList();
  XRD xrd=xrds.getFinalXRD();
  extractDiscoveryInformationOpenID(xriResolver,endpoints,xrd,identifier,DiscoveryInformation.OPENID2_OP,false);
  extractDiscoveryInformationOpenID(xriResolver,endpoints,xrd,identifier,DiscoveryInformation.OPENID2,true);
  extractDiscoveryInformationOpenID(xriResolver,endpoints,xrd,identifier,DiscoveryInformation.OPENID11,true);
  extractDiscoveryInformationOpenID(xriResolver,endpoints,xrd,identifier,DiscoveryInformation.OPENID10,true);
  if (endpoints.size() == 0)   _log.info("No OpenID service types found in the XRDS.");
  return endpoints;
}

protected List extractDiscoveryInformation ( XRDS xrds , XriIdentifier identifier , Resolver xriResolver ) throws DiscoveryException { ArrayList endpoints = new ArrayList ( ) ; XRD xrd = xrds . getFinalXRD ( ) ; extractDiscoveryInformationOpenID ( xriResolver , endpoints , xrd , identifier , DiscoveryInformation . OPENID2_OP , false ) ; extractDiscoveryInformationOpenID ( xriResolver , endpoints , xrd , identifier , DiscoveryInformation . OPENID2 , true ) ; extractDiscoveryInformationOpenID ( xriResolver , endpoints , xrd , identifier , DiscoveryInformation . OPENID11 , true ) ; extractDiscoveryInformationOpenID ( xriResolver , endpoints , xrd , identifier , DiscoveryInformation . OPENID10 , true ) ; if ( endpoints . size ( ) == 0 ) _log . info ( "No OpenID service types found in the XRDS." ) ; return endpoints ; }
extracts openid discovery endpoints from a xrds discovery result for xri identifiers .
