org.openid4java.discovery.xrds
Interface XrdsParser

All Known Implementing Classes:
XrdsParserImpl

public interface XrdsParser

XRDS parser for OpenID.


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

Method Detail

parseXrds

List parseXrds(String input,
               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 © 2013 Sxip. All Rights Reserved.