Interface TemplateParser

    • Method Detail

      • parseTemplate

        ComponentTemplate parseTemplate​(Resource templateResource)
        Parses the given resource into a component template.
        Parameters:
        templateResource - the path
        Returns:
        the parsed template contents
        Throws:
        RuntimeException - if the resource does not exist, or if there is any kind of parse error
      • getDTDURLMappings

        Map<String,​URLgetDTDURLMappings()
        Returns a mapping from URL string to a local equivalent URL, used to avoid attempting to pull well-known DTDs down over the wire while parsing XML.
        Since:
        5.3