org.sitemesh
Interface SiteMeshContext

All Known Implementing Classes:
BaseSiteMeshContext, OfflineContext, WebAppContext

public interface SiteMeshContext


Method Summary
 Content decorate(String decoratorName, Content content)
           
 Content getContentToMerge()
          The ContentProperty of the document being merged in to the decorator.
 String getPath()
          Get path of the page currently being displayed.
 

Method Detail

getPath

String getPath()
Get path of the page currently being displayed.


decorate

Content decorate(String decoratorName,
                 Content content)
                 throws IOException
Throws:
IOException

getContentToMerge

Content getContentToMerge()
The ContentProperty of the document being merged in to the decorator. This is only set within the scope of the decorate(String, Content) method - the rest of the time, this will return null.



Copyright © 2011. All Rights Reserved.