Class ParserOptions

java.lang.Object
uk.co.real_logic.sbe.xml.ParserOptions

public final class ParserOptions extends Object
Class to hold the values of the parsing options.
  • Field Details

    • DEFAULT

      public static final ParserOptions DEFAULT
      Default parser options which can be used for convenience.
  • Method Details

    • stopOnError

      public boolean stopOnError()
      The value of the stopOnError parameter.
      Returns:
      true if we should stop on error.
    • warningsFatal

      public boolean warningsFatal()
      The value of the warningsFatal parameter.
      Returns:
      true if warnings should be handled as errors.
    • suppressOutput

      public boolean suppressOutput()
      The value of the suppressOutput parameter.
      Returns:
      true if we should suppress the output.
    • xIncludeAware

      public boolean xIncludeAware()
      Is the parser XInclude aware?
      Returns:
      true if the parser is XInclude aware.
    • xsdFilename

      public String xsdFilename()
      Returns the name of the schema file.
      Returns:
      the name of the schema file.
    • errorPrintStream

      public PrintStream errorPrintStream()
      The PrintStream to which errors and warnings are printed when parsing.
      Returns:
      the PrintStream to which errors and warnings are printed when parsing.
    • builder

      public static ParserOptions.Builder builder()
      Creates a builder.
      Returns:
      a new builder instance.