com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class TemplateContext<TObject>

  • java.lang.Object
    • com.aspose.slides.TemplateContext<TObject>


  • public final class TemplateContext<TObject>
    extends java.lang.Object

    Represents a model object interface for a template engine.

    • Method Detail

      • subModel

        public final <TSubModel> TemplateContext<TSubModel> subModel(TSubModel subModel)

        Creates a child template context.

        Parameters:
        subModel - Child model object.
        Returns:
        New template context with given model and parent's output collection and global storage.
      • getObject

        public final TObject getObject()

        Returns the model object. Read-only Object.

      • getOutput

        public final Output getOutput()

        Returns collection of output elements of the host document. Read-only Output(getOutput()).

      • getLocal

        public final Storage getLocal()

        Returns local storage of the current template context. Read-only Storage.

      • getGlobal

        public final Storage getGlobal()

        Returns global storage of the host document. Read-only Storage.