org.sitemesh.tagprocessor
Interface TagRule

All Known Implementing Classes:
BasicBlockRule, BasicRule, ContentBlockExtractingRule, DivExtractingRule, ExportTagToContentRule, FramesetRule, HtmlAttributesRule, MetaTagRule, ParameterExtractingRule, SiteMeshDecorateRule, SiteMeshWriteRule, StateTransitionRule, TagReplaceRule, TitleExtractingRule

public interface TagRule

User defined rule for processing Tags encountered by the TagProcessor. See BasicRule and BasicBlockRule for implementations that provide basic functionality.

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.
 void setTagProcessorContext(TagProcessorContext context)
          Injected by the TagProcessor before any of the other TagRule methods.
 

Method Detail

setTagProcessorContext

void setTagProcessorContext(TagProcessorContext context)
Injected by the TagProcessor before any of the other TagRule methods.


process

void process(Tag tag)
             throws IOException
Implementations can use this to do any necessary work on the Tag such as extracting values or transforming it.

Throws:
IOException


Copyright © 2011. All Rights Reserved.