public abstract class BaseSiteMeshContext extends Object implements SiteMeshContext
SiteMeshContext.| Modifier | Constructor and Description |
|---|---|
protected |
BaseSiteMeshContext(ContentProcessor contentProcessor) |
| Modifier and Type | Method and Description |
|---|---|
Content |
decorate(String decoratorName,
Content content) |
protected abstract void |
decorate(String decoratorPath,
Content content,
Writer out) |
ContentProcessor |
getContentProcessor()
ContentProcessor used by this context.
|
Content |
getContentToMerge()
The ContentProperty of the document being merged in to the decorator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathprotected BaseSiteMeshContext(ContentProcessor contentProcessor)
protected abstract void decorate(String decoratorPath, Content content, Writer out) throws IOException
IOExceptionpublic Content decorate(String decoratorName, Content content) throws IOException
decorate in interface SiteMeshContextIOExceptionpublic Content getContentToMerge()
SiteMeshContextSiteMeshContext.decorate(String, Content) method - the
rest of the time, this will return null.getContentToMerge in interface SiteMeshContextpublic ContentProcessor getContentProcessor()
SiteMeshContextgetContentProcessor in interface SiteMeshContextCopyright © 2015. All Rights Reserved.