java.lang.Object
swim.codec.InputSettings
- All Implemented Interfaces:
Debug
Input
consumption parameters. InputSettings
provide
contextual configuration parameters to input consumers, such as Parsers
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected InputSettings
copy
(boolean isStripped) static final InputSettings
create
(boolean isStripped) ReturnsInputSettings
configured to not include diagnostic metadata in generated output, ifisStripped
istrue
.<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
int
hashCode()
final boolean
Returnstrue
if input consumers should not include diagnostic metadata in generated output.isStripped
(boolean isStripped) Returns a copy of these settings with the givenisStripped
flag.static final InputSettings
standard()
ReturnsInputSettings
configured to include diagnostic metadata in generated output.static final InputSettings
stripped()
ReturnsInputSettings
configured to not include diagnostic metadata in generated output.toString()
-
Field Details
-
isStripped
protected final boolean isStripped
-
-
Constructor Details
-
InputSettings
protected InputSettings(boolean isStripped)
-
-
Method Details
-
isStripped
public final boolean isStripped()Returnstrue
if input consumers should not include diagnostic metadata in generated output. -
isStripped
Returns a copy of these settings with the givenisStripped
flag. -
copy
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
standard
ReturnsInputSettings
configured to include diagnostic metadata in generated output. -
stripped
ReturnsInputSettings
configured to not include diagnostic metadata in generated output. -
create
ReturnsInputSettings
configured to not include diagnostic metadata in generated output, ifisStripped
istrue
.
-