public class JSParseFilter extends java.lang.Object implements HtmlParseFilter, Parser
X_POINT_IDX_POINT_ID| Constructor and Description |
|---|
JSParseFilter() |
| Modifier and Type | Method and Description |
|---|---|
ParseResult |
filter(Content content,
ParseResult parseResult,
HTMLMetaTags metaTags,
org.w3c.dom.DocumentFragment doc)
Scan the JavaScript fragments of a HTML page looking for possible
Outlink's |
Configuration |
getConf() |
ParseResult |
getParse(Content c)
Parse a JavaScript file and extract outlinks
|
static void |
main(java.lang.String[] args)
Main method which can be run from command line with the plugin option.
|
void |
setConf(Configuration conf) |
public ParseResult filter(Content content, ParseResult parseResult, HTMLMetaTags metaTags, org.w3c.dom.DocumentFragment doc)
Outlink'sfilter in interface HtmlParseFiltercontent - page contentparseResult - parsed content, result of running the HTML parsermetaTags - within the HTMLMetaTagsdoc - The DocumentFragment objectParseResult object with additional outlinks from JavaScriptpublic ParseResult getParse(Content c)
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - java.lang.Exceptionpublic void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface ConfigurableCopyright © 2019 The Apache Software Foundation