Interface NodeTemplateModelFactory

  • All Known Implementing Classes:
    BeanFactoryModelFactory

    public interface NodeTemplateModelFactory
    Factory that returns models for DOM node templates.
    Author:
    Alfonso Vásquez
    • Method Detail

      • getModel

        Object getModel​(Item item,
                        org.dom4j.Node node,
                        String template)
        Returns the model for a given template of a given node.
        Parameters:
        item - the Item whose descriptor contains the specified node
        node - the DOM node whose content is the specified template
        template - the actual template
        Returns:
        the model to be used for processing the specified template