org.openid4java.discovery.yadis
Class CyberNekoDOMYadisHtmlParser
java.lang.Object
org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser
- All Implemented Interfaces:
- YadisHtmlParser
public class CyberNekoDOMYadisHtmlParser
- extends Object
- implements YadisHtmlParser
A YadisHtmlParser implementation using the DOMParser of CyberNeko HTML.
- Since:
- 0.9.4
- Author:
- Sutra Zhou
- See Also:
OpenID4JavaDOMParser
|
Method Summary |
String |
getHtmlMeta(String input)
Parses the HTML input stream and scans for the Yadis XRDS location in the
HTML HEAD Meta tags. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CyberNekoDOMYadisHtmlParser
public CyberNekoDOMYadisHtmlParser()
getHtmlMeta
public String getHtmlMeta(String input)
throws YadisException
- Description copied from interface:
YadisHtmlParser
- Parses the HTML input stream and scans for the Yadis XRDS location in the
HTML HEAD Meta tags.
- Specified by:
getHtmlMeta in interface YadisHtmlParser
- Parameters:
input - input data stream
- Returns:
- String the XRDS location URL, or null if not found
- Throws:
YadisException - on parsing errors or Yadis protocal violations
Copyright © 2013 Sxip. All Rights Reserved.