org.openid4java.discovery.yadis
Interface YadisHtmlParser

All Known Implementing Classes:
CyberNekoDOMYadisHtmlParser

public interface YadisHtmlParser

Yadis parser.

Since:
0.9.4
Author:
Sutra Zhou
See Also:
getHtmlMeta(String)

Method Summary
 java.lang.String getHtmlMeta(java.lang.String input)
          Parses the HTML input stream and scans for the Yadis XRDS location in the HTML HEAD Meta tags.
 

Method Detail

getHtmlMeta

java.lang.String getHtmlMeta(java.lang.String input)
                             throws YadisException
Parses the HTML input stream and scans for the Yadis XRDS location in the HTML HEAD Meta tags.

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 © 2012 Sxip. All Rights Reserved.