Interface IEglContext

All Superinterfaces:
IEolContext
All Known Implementing Classes:
EglContext

public interface IEglContext extends IEolContext
  • Method Details

    • getTemplateFactory

      EglTemplateFactory getTemplateFactory()
    • getPartitioner

      CompositePartitioner getPartitioner()
    • setPartitioner

      void setPartitioner(CompositePartitioner partitioner)
    • getContentTypeRepository

      ContentTypeRepository getContentTypeRepository()
    • setContentTypeRepository

      void setContentTypeRepository(ContentTypeRepository repository)
    • addStatusMessage

      void addStatusMessage(StatusMessage message)
    • getStatusMessages

      List<StatusMessage> getStatusMessages()
    • enter

      void enter(EglTemplate template)
    • exit

      void exit()
    • getCurrentTemplate

      EglTemplate getCurrentTemplate()
    • getTrace

      Template getTrace()
    • getOutputBuffer

      IOutputBuffer getOutputBuffer()
    • getModule

      IEglModule getModule()
      Specified by:
      getModule in interface IEolContext
    • newOutputBuffer

      default IOutputBuffer newOutputBuffer()
      Returns:
      Since:
      1.6
    • formatWith

      default void formatWith(Formatter formatter)
    • getPartitioningProblems

      default List<String> getPartitioningProblems()
    • usePartitionerFor

      default boolean usePartitionerFor(String contentType)
    • setDelegate

      default void setDelegate(IEolContext delegate)
      Copies state references (excluding variables) from the context. The copying may be performed lazily and is shallow. This is mainly useful if EGL is being invoked from EGX, which has a different context.
      Parameters:
      delegate - The parent context.
      Since:
      1.6
    • getDelegate

      default IEolContext getDelegate()
      Returns:
      Since:
      1.6