Class ListPropertyTemplate

  • All Implemented Interfaces:
    freemarker.template.AdapterTemplateModel, freemarker.template.TemplateCollectionModel, freemarker.template.TemplateModel, freemarker.template.TemplateSequenceModel

    public class ListPropertyTemplate
    extends PropertyWrapper
    implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel, freemarker.template.AdapterTemplateModel
    Author:
    Bogdan Stefanescu
    • Method Detail

      • getAdaptedObject

        public Object getAdaptedObject​(Class hint)
        Specified by:
        getAdaptedObject in interface freemarker.template.AdapterTemplateModel
      • iterator

        public freemarker.template.TemplateModelIterator iterator()
                                                           throws freemarker.template.TemplateModelException
        Specified by:
        iterator in interface freemarker.template.TemplateCollectionModel
        Throws:
        freemarker.template.TemplateModelException
      • get

        public freemarker.template.TemplateModel get​(int arg0)
                                              throws freemarker.template.TemplateModelException
        Specified by:
        get in interface freemarker.template.TemplateSequenceModel
        Throws:
        freemarker.template.TemplateModelException
      • size

        public int size()
                 throws freemarker.template.TemplateModelException
        Specified by:
        size in interface freemarker.template.TemplateSequenceModel
        Throws:
        freemarker.template.TemplateModelException