|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TagRule | |
|---|---|
| org.sitemesh.content.tagrules.decorate | |
| org.sitemesh.content.tagrules.html | A set of commonly used out-of-the-box TagRules. |
| org.sitemesh.tagprocessor | The SiteMesh TagProcessor |
| Uses of TagRule in org.sitemesh.content.tagrules.decorate |
|---|
| Classes in org.sitemesh.content.tagrules.decorate that implement TagRule | |
|---|---|
class |
SiteMeshDecorateRule
Rule that applies decorators to inline blocks of content. |
class |
SiteMeshWriteRule
Replaces tags that look like <sitemesh:write property='foo'/> with the
ContentProperty being merged into the current document. |
| Uses of TagRule in org.sitemesh.content.tagrules.html |
|---|
| Classes in org.sitemesh.content.tagrules.html that implement TagRule | |
|---|---|
class |
ContentBlockExtractingRule
Extracts the contents of any elements that look like <content tag='foo'>...</content> and write the contents
to a page property (page.foo). |
class |
DivExtractingRule
|
class |
ExportTagToContentRule
Exports the contents of a match tag to property of the passed in ContentProperty. |
class |
FramesetRule
Identifies whether a page contains frames (as these would typically have different rules for decoration - i.e. |
class |
HtmlAttributesRule
Exports any attributes on the <html> tag
as page properties. |
class |
MetaTagRule
Exports any <meta> tags as properties in the page. |
class |
ParameterExtractingRule
Extracts the contents of any elements that look like <parameter name='x' value='y'> and write the contents
to a page property (page.x=y). |
class |
TagReplaceRule
Very simple rule for replacing all occurences of one tag with another. |
class |
TitleExtractingRule
Extracts the contents of the <title> element from the
page and exports it as the title property. |
| Uses of TagRule in org.sitemesh.tagprocessor |
|---|
| Classes in org.sitemesh.tagprocessor that implement TagRule | |
|---|---|
class |
BasicBlockRule<T>
TagRule helper class for dealing with blocks surrounded by an opening and closing tag. |
class |
BasicRule
Basic implementation of TagRule. |
class |
StateTransitionRule
|
| Methods in org.sitemesh.tagprocessor that return TagRule | |
|---|---|
TagRule |
State.getRule(String tagName)
|
| Methods in org.sitemesh.tagprocessor with parameters of type TagRule | |
|---|---|
void |
TagProcessor.addRule(String name,
TagRule rule)
Equivalent of TagProcessor.defaultState().addRule() |
void |
State.addRule(String tagName,
TagRule rule)
Adds a TagRule that will be called for |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||