Class ElementImpl

    • Constructor Detail

      • ElementImpl

        public ElementImpl()
    • Method Detail

      • getTypeName

        public String getTypeName()
        Returns the name of the element's type. This is typically used for type identification in serialized forms.
        Specified by:
        getTypeName in interface Element
        Returns:
        The type name of the element.
      • toString

        public String toString()
        Returns a JSON representation of the element.
        Overrides:
        toString in class Object
        Returns:
        The JSON string representation of the object.