JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.debug.core.model
Interface IJavaScriptPrimitiveValue

All Superinterfaces:
IJavaScriptValue

public interface IJavaScriptPrimitiveValue
extends IJavaScriptValue

Describes a primitive value

Since:
1.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Field Summary
 
Fields inherited from interface org.eclipse.wst.jsdt.debug.core.model.IJavaScriptValue
ARRAY, BOOLEAN, FUNCTION, NULL, NUMBER, OBJECT, STRING, UNDEFINED, UNKNOWN
 
Method Summary
 boolean booleanValue()
          Returns the boolean for the value.
 double doubleValue()
          Returns the double for the value.
 int intValue()
          Returns the integer for the value.
 String stringValue()
          Returns the String value for the value.
 
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.model.IJavaScriptValue
getDetailString, isNull
 

Method Detail

intValue

int intValue()
Returns the integer for the value.

Returns:
the integer value

doubleValue

double doubleValue()
Returns the double for the value.

Returns:
the double value

booleanValue

boolean booleanValue()
Returns the boolean for the value.

Returns:
the boolean value

stringValue

String stringValue()
Returns the String value for the value.

This method can return null

Returns:
the String value

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.