Class FixedHTMLDataGetter

    • Constructor Detail

      • FixedHTMLDataGetter

        public FixedHTMLDataGetter​(VitroRequest vreq,
                                   org.apache.jena.rdf.model.Model displayModel,
                                   String dataGetterURI)
        Constructor with display model and data getter URI that will be called by reflection.
    • Method Detail

      • getData

        public Map<String,​Object> getData​(Map<String,​Object> pageData)
        Description copied from interface: DataGetter
        Get data. Throwing an Exception is acceptable.
        Specified by:
        getData in interface DataGetter
        Parameters:
        pageData - any values already generated by data getters or the controller. Might be immutable, and should not be modified within the method.
        Returns:
        data to add to valueMap. Might be empty, but should not be null.
      • configure

        protected void configure​(VitroRequest vreq,
                                 org.apache.jena.rdf.model.Model displayModel,
                                 String dataGetterURI)
        Configure this instance based on the URI and display model.