org.openid4java.discovery.yadis
public class CyberNekoDOMYadisHtmlParser extends java.lang.Object implements YadisHtmlParser
YadisHtmlParser
implementation using the DOMParser of CyberNeko HTML.OpenID4JavaDOMParser
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
_log |
private static boolean |
DEBUG |
Constructor and Description |
---|
CyberNekoDOMYadisHtmlParser() |
Modifier and Type | Method and Description |
---|---|
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.
|
private org.apache.html.dom.HTMLDocumentImpl |
parseDocument(java.lang.String htmlData) |
private static final org.apache.commons.logging.Log _log
private static final boolean DEBUG
public java.lang.String getHtmlMeta(java.lang.String input) throws YadisException
YadisHtmlParser
getHtmlMeta
in interface YadisHtmlParser
input
- input data streamYadisException
- on parsing errors or Yadis protocal violationsprivate org.apache.html.dom.HTMLDocumentImpl parseDocument(java.lang.String htmlData) throws YadisException
YadisException
Copyright 2006-2008 Sxip Identity Corporation