public class CoreHtmlTagRuleBundle extends Object implements TagRuleBundle
ContentProcessor implementation that processes HTML documents.
The following properties will be extracted from the document:
body: The contents of the <body> element.title: The contents of the <title> element.head: The contents of the <head> element,
meta.XXX: Each <meta> tag,
where XXX is the name of the tag.meta.http-equiv.XXX: Each <meta http-equiv> tag,
where XXX is the http-equiv attribute of the tag.body.XXX: Each attribute of the <body> tag,
where XXX is attribute name (e.g. body.bgcolor=white).In the event that no <body> tag is found in the document, the body
attribute will instead be everything in the document that is not matched by any other rule. This is useful
for documents that are not wrapped in a <body> tag.
TagBasedContentProcessor| Constructor and Description |
|---|
CoreHtmlTagRuleBundle() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(State defaultState,
ContentProperty contentProperty,
SiteMeshContext siteMeshContext) |
void |
install(State defaultState,
ContentProperty contentProperty,
SiteMeshContext siteMeshContext) |
public void install(State defaultState, ContentProperty contentProperty, SiteMeshContext siteMeshContext)
install in interface TagRuleBundlepublic void cleanUp(State defaultState, ContentProperty contentProperty, SiteMeshContext siteMeshContext)
cleanUp in interface TagRuleBundleCopyright © 2015. All Rights Reserved.