Class ParserConfigs


  • public final class ParserConfigs
    extends java.lang.Object

    Since:
    2.2
    Version:
    6.0
    Author:
    Michael Grove
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Option<java.lang.Boolean> STRICT_PARSING  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Options create​(Options theOptions)
      Returns a parser configuration with given options.
      static Options defaults()
      Returns a parser configuration with default settings.
      static Options lax()
      Returns a parser configuration with strict parsing disabled.
      static Options strict()
      Returns a parser configuration with strict parsing enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STRICT_PARSING

        public static final Option<java.lang.Boolean> STRICT_PARSING
    • Method Detail

      • strict

        public static Options strict()
        Returns a parser configuration with strict parsing enabled.
      • lax

        public static Options lax()
        Returns a parser configuration with strict parsing disabled.
      • defaults

        public static Options defaults()
        Returns a parser configuration with default settings.
      • create

        public static Options create​(Options theOptions)
        Returns a parser configuration with given options.