Interface TemplateLocator.TemplateLocation

All Known Implementing Classes:
StringTemplateLocation
Enclosing interface:
TemplateLocator

public static interface TemplateLocator.TemplateLocation
  • Method Details

    • read

      Reader read()
      A Reader instance produced by a locator is immediately closed right after the template content is parsed.
      Returns:
      the reader
    • getVariant

      Optional<Variant> getVariant()
      Returns:
      the template variant
    • getSource

      default Optional<URI> getSource()
      Returns:
      the source