org.teatrove.tea.util
Class TestCompiler.Context

java.lang.Object
  extended by java.io.Writer
      extended by org.teatrove.tea.runtime.DefaultContext
          extended by org.teatrove.tea.util.TestCompiler.Context
All Implemented Interfaces:
Closeable, Flushable, Appendable, Context, OutputReceiver, UtilityContext
Enclosing class:
TestCompiler

public static class TestCompiler.Context
extends DefaultContext


Nested Class Summary
 
Nested classes/interfaces inherited from class org.teatrove.tea.runtime.DefaultContext
DefaultContext.GenericComparator, DefaultContext.StringComparator
 
Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
TestCompiler.Context(PrintStream out)
           
 
Method Summary
 void print(Object obj)
          Method that is the runtime receiver.
 
Methods inherited from class org.teatrove.tea.runtime.DefaultContext
append, cardinal, cardinal, close, createStringBuilder, createStringBuilder, currentDate, currentDateTime, dateFormat, dateFormat, endsWith, find, find, findFirst, findFirst, findLast, findLast, flush, getAvailableLocales, getAvailableTimeZones, getDateFormat, getDateFormatTimeZone, getLocale, getNullFormat, getNumberFormat, getNumberFormatInfinity, getNumberFormatNaN, insert, isArray, nullFormat, numberFormat, numberFormat, ordinal, ordinal, prepend, print, print, print, print, print, print, print, replace, replace, replace, replaceFirst, replaceFirst, replaceLast, replaceLast, setLocale, setLocale, setLocale, shortOrdinal, shortOrdinal, sort, sort, sort, sort, sortAscending, sortAscending, sortAscending, sortAscending, sortAscending, sortAscending, sortAscending, split, startsWith, substring, substring, toLowerCase, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toUpperCase, trim, trimLeading, trimTrailing, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.teatrove.tea.runtime.OutputReceiver
write, write, write
 

Constructor Detail

TestCompiler.Context

public TestCompiler.Context(PrintStream out)
Method Detail

print

public void print(Object obj)
Description copied from class: DefaultContext
Method that is the runtime receiver. Implementations should call one of the toString methods when converting this object to a string.

NOTE: This method should not be called directly within a template.

Specified by:
print in interface Context
Specified by:
print in interface OutputReceiver
Specified by:
print in class DefaultContext
See Also:
Compiler.getRuntimeReceiver()


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.