Class OutputJsonStringImpl

java.lang.Object
org.glassfish.json.OutputJsonStringImpl
All Implemented Interfaces:
jakarta.json.JsonString, jakarta.json.JsonValue

public class OutputJsonStringImpl extends Object implements jakarta.json.JsonString
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.json.JsonValue

    jakarta.json.JsonValue.ValueType
  • Field Summary

    Fields inherited from interface jakarta.json.JsonValue

    EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    jakarta.json.JsonValue.ValueType
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface jakarta.json.JsonValue

    asJsonArray, asJsonObject
  • Method Details

    • getString

      public String getString()
      Specified by:
      getString in interface jakarta.json.JsonString
    • getChars

      public CharSequence getChars()
      Specified by:
      getChars in interface jakarta.json.JsonString
    • getValueType

      public jakarta.json.JsonValue.ValueType getValueType()
      Specified by:
      getValueType in interface jakarta.json.JsonValue
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface jakarta.json.JsonString
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface jakarta.json.JsonString
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface jakarta.json.JsonValue
      Overrides:
      toString in class Object