org.sitemesh.content.tagrules.html
Class FramesetRule

java.lang.Object
  extended by org.sitemesh.tagprocessor.BasicRule
      extended by org.sitemesh.content.tagrules.html.FramesetRule
All Implemented Interfaces:
TagRule

public class FramesetRule
extends BasicRule

Identifies whether a page contains frames (as these would typically have different rules for decoration - i.e. none).

If frames are detected, the property frameset=true is exported.

Author:
Joe Walnes

Field Summary
 
Fields inherited from class org.sitemesh.tagprocessor.BasicRule
tagProcessorContext
 
Constructor Summary
FramesetRule(ContentProperty propertyToExport)
           
 
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 org.sitemesh.tagprocessor.BasicRule
setTagProcessorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FramesetRule

public FramesetRule(ContentProperty propertyToExport)
Method Detail

process

public void process(Tag tag)
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


Copyright © 2011. All Rights Reserved.