org.peaseplate.internal.model
Class AbstractRenderContext

java.lang.Object
  extended by org.peaseplate.internal.model.AbstractRenderContext
All Implemented Interfaces:
RenderContext
Direct Known Subclasses:
DefaultBuildContext

public abstract class AbstractRenderContext
extends java.lang.Object
implements RenderContext


Constructor Summary
AbstractRenderContext(TemplateEngine engine, Template template, java.util.Locale locale, LineSeparator lineSeparator)
          Initializes the stack with the default size (8)
 
Method Summary
 TemplateEngine getEngine()
           
 LineSeparator getLineSeparator()
           
 java.util.Locale getLocale()
           
 Template getTemplate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.peaseplate.RenderContext
getMessage
 

Constructor Detail

AbstractRenderContext

public AbstractRenderContext(TemplateEngine engine,
                             Template template,
                             java.util.Locale locale,
                             LineSeparator lineSeparator)
Initializes the stack with the default size (8)

Parameters:
template - the template
locale - the locale
lineSeparator -
Method Detail

getEngine

public TemplateEngine getEngine()
Specified by:
getEngine in interface RenderContext
See Also:
RenderContext.getEngine()

getTemplate

public Template getTemplate()
Specified by:
getTemplate in interface RenderContext
See Also:
RenderContext.getTemplate()

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface RenderContext
See Also:
RenderContext.getLocale()

getLineSeparator

public LineSeparator getLineSeparator()
Specified by:
getLineSeparator in interface RenderContext
See Also:
RenderContext.getLineSeparator()


Copyright © 2008. All Rights Reserved.