Interface ParserEnvironment


@PublicApi public interface ParserEnvironment
This is the arguments that can be passed to a Parser
  • Method Details

    • getDocument

      Reader getDocument()
      Returns:
      the document to be parsed
    • getParserOptions

      ParserOptions getParserOptions()
      Returns:
      the parsing options
    • getLocale

      Locale getLocale()
      Returns:
      the locale to produce parsing error messages in
    • getI18N

      I18n getI18N()
      Returns:
      the I18n to produce parsing error messages with
    • newParserEnvironment

      static ParserEnvironment.Builder newParserEnvironment()
      Returns:
      a builder of new parsing options