Class SmileConfig.BuilderBase.SmileConfigImpl

java.lang.Object
io.helidon.json.smile.SmileConfig.BuilderBase.SmileConfigImpl
All Implemented Interfaces:
Prototype.Api, SmileConfig
Enclosing class:
SmileConfig.BuilderBase<BUILDER extends SmileConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SmileConfig>

protected static class SmileConfig.BuilderBase.SmileConfigImpl extends Object implements SmileConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • SmileConfigImpl

      protected SmileConfigImpl(SmileConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • sharedKeyStrings

      public boolean sharedKeyStrings()
      Description copied from interface: SmileConfig
      Whether to enable shared key string references.
      Specified by:
      sharedKeyStrings in interface SmileConfig
      Returns:
      true to enable shared key string references, defaults to true
    • sharedValueStrings

      public boolean sharedValueStrings()
      Description copied from interface: SmileConfig
      Whether to enable shared value string references.
      Specified by:
      sharedValueStrings in interface SmileConfig
      Returns:
      true to enable shared value string references
    • rawBinaryEnabled

      public boolean rawBinaryEnabled()
      Description copied from interface: SmileConfig
      Whether to allow raw binary values in Smile content.
      Specified by:
      rawBinaryEnabled in interface SmileConfig
      Returns:
      true to allow raw binary values
    • emitEndMark

      public boolean emitEndMark()
      Description copied from interface: SmileConfig
      Whether to emit the optional Smile end marker when closing a generator.
      Specified by:
      emitEndMark in interface SmileConfig
      Returns:
      true to emit the end marker
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object