public class RelTagParser extends java.lang.Object implements ParseFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REL_TAG |
X_POINT_ID| Constructor and Description |
|---|
RelTagParser() |
| 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()
Get the
Configuration object |
java.util.Collection<WebPage.Field> |
getFields()
Gets all the fields for a given
WebPage Many datastores need to
setup the mapreduce job by specifying the fields needed. |
void |
setConf(Configuration conf)
Set the
Configuration object |
public static final java.lang.String REL_TAG
public void setConf(Configuration conf)
Configuration objectsetConf in interface Configurablepublic Configuration getConf()
Configuration objectgetConf in interface Configurablepublic java.util.Collection<WebPage.Field> getFields()
WebPage Many datastores need to
setup the mapreduce job by specifying the fields needed. All extensions
that work on WebPage are able to specify what fields they need.getFields in interface FieldPluggablepublic Parse filter(java.lang.String url, WebPage page, Parse parse, HTMLMetaTags metaTags, org.w3c.dom.DocumentFragment doc)
ParseFilterfilter in interface ParseFilterCopyright © 2019 The Apache Software Foundation