JSObject.toString() Java MethodNameJSObject.toString() Java Method---return the string value of a JavaScript objectAvailabilityPart of the netscape.javascript package included with Navigator 3.0 Synopsis
public String toString() Argumentsnone ReturnsThe string returned by invoking the toString() method of the JavaScript object represented by the specified Java JSObject. DescriptionThe toString() method of the Java JSObject class invokes the JavaScript toString() method of the JavaScript object represented by a JSObject and returns the result of that method. Because the Java toString() method of a JSObject simply invokes the JavaScript toString() method of the JavaScript object represented by that JSObject, Java is guaranteed to convert any JSObject to a string in the same way that JavaScript does. |
|