Package uk.co.real_logic.sbe.xml
Class ParserOptions
java.lang.Object
uk.co.real_logic.sbe.xml.ParserOptions
Class to hold the values of the parsing options.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParserOptionsDefault parser options which can be used for convenience. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParserOptions.Builderbuilder()Creates a builder.ThePrintStreamto which errors and warnings are printed when parsing.booleanThe value of the stopOnError parameter.booleanThe value of the suppressOutput parameter.booleanThe value of the warningsFatal parameter.booleanIs the parser XInclude aware?Returns the name of the schema file.
-
Field Details
-
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
Returns the name of the schema file.- Returns:
- the name of the schema file.
-
errorPrintStream
ThePrintStreamto which errors and warnings are printed when parsing.- Returns:
- the
PrintStreamto which errors and warnings are printed when parsing.
-
builder
Creates a builder.- Returns:
- a new builder instance.
-