Interface ScalarResolver

All Known Implementing Classes:
BaseScalarResolver, CoreScalarResolver, FailsafeScalarResolver, JsonScalarResolver

public interface ScalarResolver
ScalarResolver tries to detect a type of scalar value by its content (when the tag is implicit)
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String value, Boolean implicit)
    Resolve (detect) the tag of the scalar node of the given type.
  • Method Details

    • resolve

      Tag resolve(String value, Boolean implicit)
      Resolve (detect) the tag of the scalar node of the given type.
      Parameters:
      value - - the value of the scalar node
      implicit - - true if there was no tag specified (the tag will be resolved)
      Returns:
      the Tag that matches the contents