org.sitemesh.content.tagrules.html
Class MetaTagRule
java.lang.Object
org.sitemesh.tagprocessor.BasicRule
org.sitemesh.content.tagrules.html.MetaTagRule
- All Implemented Interfaces:
- TagRule
public class MetaTagRule
- extends BasicRule
Exports any <meta> tags as properties in the page.
<meta name=x content=y> will be exported as meta.x=y.
<meta http-equiv=x content=y> will be exported as meta.http-equiv.x=y.
- Author:
- Joe Walnes
|
Method Summary |
void |
process(Tag tag)
Implementations can use this to do any necessary work on the Tag such as extracting
values or transforming it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaTagRule
public MetaTagRule(ContentProperty propertyToUpdate)
process
public void process(Tag tag)
throws IOException
- Description copied from interface:
TagRule
- Implementations can use this to do any necessary work on the
Tag such as extracting
values or transforming it.
- Specified by:
process in interface TagRule- Specified by:
process in class BasicRule
- Throws:
IOException
Copyright © 2011. All Rights Reserved.