public class MetaTagsParser extends java.lang.Object implements ParseFilter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARSE_META_PREFIX |
X_POINT_ID
Constructor and Description |
---|
MetaTagsParser() |
Modifier and Type | Method and Description |
---|---|
Parse |
filter(java.lang.String url,
WebPage page,
Parse parse,
HTMLMetaTags metaTags,
org.w3c.dom.DocumentFragment doc)
Adds metadata or otherwise modifies a parse, given the DOM tree of a page.
|
Configuration |
getConf() |
java.util.Collection<WebPage.Field> |
getFields() |
void |
setConf(Configuration conf) |
public static final java.lang.String PARSE_META_PREFIX
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
public Parse filter(java.lang.String url, WebPage page, Parse parse, HTMLMetaTags metaTags, org.w3c.dom.DocumentFragment doc)
ParseFilter
filter
in interface ParseFilter
public java.util.Collection<WebPage.Field> getFields()
getFields
in interface FieldPluggable
Copyright © 2019 The Apache Software Foundation