|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter<HTMLMetaTags>
org.eclipse.smila.connectivity.framework.crawler.web.filter.impl.MetaTagFilter
public class MetaTagFilter
Implementation of the filter for omitting content by meta tags.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter |
|---|
_workType |
| Constructor Summary | |
|---|---|
MetaTagFilter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Returns filter content. |
java.lang.String |
getName()
Returns the name of meta tag. |
HtmlMetaTagType |
getType()
Returns filter type (Name or HttpEquiv). |
boolean |
matches(HTMLMetaTags test)
Returns true if the value of the parameter satisfies the filter and false otherwise. |
void |
setContent(java.lang.String content)
Assigns filter content. |
void |
setName(java.lang.String name)
Assigns the name of meta tag. |
void |
setType(HtmlMetaTagType type)
Assigns filter type (Name or HttpEquiv). |
| Methods inherited from class org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter |
|---|
getWorkType, setWorkType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaTagFilter()
| Method Detail |
|---|
public java.lang.String getContent()
public void setContent(java.lang.String content)
content - Stringpublic HtmlMetaTagType getType()
public void setType(HtmlMetaTagType type)
type - HtmlMetaTagTypepublic java.lang.String getName()
public void setName(java.lang.String name)
name - Stringpublic boolean matches(HTMLMetaTags test)
test - value that will be checked against the filter.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||