org.openid4java.discovery.xrds
Class XrdsParserImpl
java.lang.Object
org.openid4java.discovery.xrds.XrdsParserImpl
- All Implemented Interfaces:
- XrdsParser
public class XrdsParserImpl
- extends Object
- implements XrdsParser
- Author:
- jbufu
|
Method Summary |
List |
parseXrds(String input,
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 |
XrdsParserImpl
public XrdsParserImpl()
parseXrds
public List parseXrds(String input,
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 © 2013 Sxip. All Rights Reserved.