org.sitemesh.tagprocessor
Class BasicRule
java.lang.Object
org.sitemesh.tagprocessor.BasicRule
- All Implemented Interfaces:
- TagRule
- Direct Known Subclasses:
- BasicBlockRule, FramesetRule, HtmlAttributesRule, MetaTagRule, ParameterExtractingRule, StateTransitionRule, TagReplaceRule
public abstract class BasicRule
- extends Object
- implements TagRule
Basic implementation of TagRule.
- Author:
- Joe Walnes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagProcessorContext
protected TagProcessorContext tagProcessorContext
BasicRule
public BasicRule()
process
public abstract 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
- Throws:
IOException
setTagProcessorContext
public void setTagProcessorContext(TagProcessorContext tagProcessorContext)
- Description copied from interface:
TagRule
- Injected by the
TagProcessor before any of the other TagRule methods.
- Specified by:
setTagProcessorContext in interface TagRule
Copyright © 2011. All Rights Reserved.