public class RelTagParser extends Object implements ParseFilter
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static String |
REL_TAG |
X_POINT_ID
Constructor and Description |
---|
RelTagParser() |
Modifier and Type | Method and Description |
---|---|
Parse |
filter(String url,
WebPage page,
Parse parse,
HTMLMetaTags metaTags,
DocumentFragment doc)
Adds metadata or otherwise modifies a parse, given the DOM tree of a page.
|
Configuration |
getConf()
Get the
Configuration object |
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 org.slf4j.Logger LOG
public static final String REL_TAG
public void setConf(Configuration conf)
Configuration
objectsetConf
in interface Configurable
public Configuration getConf()
Configuration
objectgetConf
in interface Configurable
public 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 FieldPluggable
public Parse filter(String url, WebPage page, Parse parse, HTMLMetaTags metaTags, DocumentFragment doc)
ParseFilter
filter
in interface ParseFilter
Copyright © 2015 The Apache Software Foundation