org.openid4java.discovery.xrds
Interface XrdsParser

All Known Implementing Classes:
XrdsParserImpl

public interface XrdsParser

XRDS parser for OpenID.


Method Summary
 java.util.List parseXrds(java.lang.String input, java.util.Set targetTypes)
          Parses a XRDS document and extracts the relevant information for the specified service endpoint types.
 

Method Detail

parseXrds

java.util.List parseXrds(java.lang.String input,
                         java.util.Set targetTypes)
                         throws DiscoveryException
Parses a XRDS document and extracts the relevant information for the specified service endpoint types.

Parameters:
xrdsInput - the XRDS document in String format discovered from an Identifier.
targetTypes - Set of service endpoint types that should be matched
Returns:
a List of XrdsServiceEndpoints extracted from the XRDS document, in the proper, sorted order
Throws:
DiscoveryException


Copyright 2006-2008 Sxip Identity Corporation