Interface PreprocessorReader

All Superinterfaces:
Reader
All Known Implementing Classes:
PreprocessorReaderImpl

public interface PreprocessorReader extends Reader
  • Method Details

    • push_include

      @Deprecated void push_include(String data, String file, String path, int lineNumber, Map<String,Object> attributes)
      Push source content onto the front of the reader and switch the context based on the file, document-relative path and line information given. This method is typically used in an IncludeProcessor to add content read from the target specified.
      Parameters:
      data - content to push
      file - representation of name of the included file. Does not need to exists
      path - representation of path of the included file. Does not need to exists
      lineNumber - line number of the first line of the included content
      attributes - additional attributes to pass
    • pushInclude

      void pushInclude(String data, String file, String path, int lineNumber, Map<String,Object> attributes)
      Push source content onto the front of the reader and switch the context based on the file, document-relative path and line information given. This method is typically used in an IncludeProcessor to add content read from the target specified.
      Parameters:
      data - content to push
      file - representation of name of the included file. Does not need to exists
      path - representation of path of the included file. Does not need to exists
      lineNumber - line number of the first line of the included content
      attributes - additional attributes to pass
    • document

      @Deprecated Document document()
      Deprecated.
      Please use getDocument()
      Returns:
      Document representation.
    • getDocument

      Document getDocument()
      Returns:
      Document representation.