org.openid4java.discovery.yadis
Class CyberNekoDOMYadisHtmlParser

java.lang.Object
  extended by org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser
All Implemented Interfaces:
YadisHtmlParser

public class CyberNekoDOMYadisHtmlParser
extends java.lang.Object
implements YadisHtmlParser

A YadisHtmlParser implementation using the DOMParser of CyberNeko HTML.

Since:
0.9.4
Author:
Sutra Zhou
See Also:
OpenID4JavaDOMParser

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

Constructor Detail

CyberNekoDOMYadisHtmlParser

public CyberNekoDOMYadisHtmlParser()
Method Detail

getHtmlMeta

public java.lang.String getHtmlMeta(java.lang.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 © 2011 Sxip. All Rights Reserved.