org.openid4java.discovery.xrds
Class XrdsParserImpl

java.lang.Object
  extended by org.openid4java.discovery.xrds.XrdsParserImpl
All Implemented Interfaces:
XrdsParser

public class XrdsParserImpl
extends java.lang.Object
implements XrdsParser

Author:
jbufu

Constructor Summary
XrdsParserImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XrdsParserImpl

public XrdsParserImpl()
Method Detail

parseXrds

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

Specified by:
parseXrds in interface XrdsParser
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 © 2011 Sxip. All Rights Reserved.