Class RemoteObject

java.lang.Object
io.webfolder.cdp.type.runtime.RemoteObject

public class RemoteObject
extends java.lang.Object
Mirror object referencing original JavaScript object
  • Constructor Summary

    Constructors 
    Constructor Description
    RemoteObject()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getClassName()
    Object class (constructor) name.
    CustomPreview getCustomPreview()  
    java.lang.String getDescription()
    String representation of the object.
    java.lang.String getObjectId()
    Unique object identifier (for non-primitive values).
    ObjectPreview getPreview()
    Preview containing abbreviated property values.
    ObjectSubtypeHint getSubtype()
    Object subtype hint.
    ObjectType getType()
    Object type.
    java.lang.String getUnserializableValue()
    Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
    java.lang.Object getValue()
    Remote object value in case of primitive values or JSON values (if it was requested).
    void setClassName​(java.lang.String className)
    Object class (constructor) name.
    void setCustomPreview​(CustomPreview customPreview)  
    void setDescription​(java.lang.String description)
    String representation of the object.
    void setObjectId​(java.lang.String objectId)
    Unique object identifier (for non-primitive values).
    void setPreview​(ObjectPreview preview)
    Preview containing abbreviated property values.
    void setSubtype​(ObjectSubtypeHint subtype)
    Object subtype hint.
    void setType​(ObjectType type)
    Object type.
    void setUnserializableValue​(java.lang.String unserializableValue)
    Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
    void setValue​(java.lang.Object value)
    Remote object value in case of primitive values or JSON values (if it was requested).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getType

      public ObjectType getType()
      Object type.
    • setType

      public void setType​(ObjectType type)
      Object type.
    • getSubtype

      public ObjectSubtypeHint getSubtype()
      Object subtype hint. Specified for `object` type values only.
    • setSubtype

      public void setSubtype​(ObjectSubtypeHint subtype)
      Object subtype hint. Specified for `object` type values only.
    • getClassName

      public java.lang.String getClassName()
      Object class (constructor) name. Specified for `object` type values only.
    • setClassName

      public void setClassName​(java.lang.String className)
      Object class (constructor) name. Specified for `object` type values only.
    • getValue

      public java.lang.Object getValue()
      Remote object value in case of primitive values or JSON values (if it was requested).
    • setValue

      public void setValue​(java.lang.Object value)
      Remote object value in case of primitive values or JSON values (if it was requested).
    • getUnserializableValue

      public java.lang.String getUnserializableValue()
      Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
    • setUnserializableValue

      public void setUnserializableValue​(java.lang.String unserializableValue)
      Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
    • getDescription

      public java.lang.String getDescription()
      String representation of the object.
    • setDescription

      public void setDescription​(java.lang.String description)
      String representation of the object.
    • getObjectId

      public java.lang.String getObjectId()
      Unique object identifier (for non-primitive values).
    • setObjectId

      public void setObjectId​(java.lang.String objectId)
      Unique object identifier (for non-primitive values).
    • getPreview

      public ObjectPreview getPreview()
      Preview containing abbreviated property values. Specified for `object` type values only.
    • setPreview

      public void setPreview​(ObjectPreview preview)
      Preview containing abbreviated property values. Specified for `object` type values only.
    • getCustomPreview

      public CustomPreview getCustomPreview()
    • setCustomPreview

      public void setCustomPreview​(CustomPreview customPreview)