|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.browser.field.ObjectParamList
public final class ObjectParamList
A container class to hold the values from the HTML param
elements nested
inside an HTML object
element. This container provides a static view of
the param
elements, and is not updated by the rendering engine after creation.
Method Summary | ||
---|---|---|
|
String |
getParamName(int index)
Get the content of the name attribute of the index 'th param
element stored in the container. |
|
String |
getParamType(int index)
Get the content of the type attribute of the index 'th param
element stored in the container. |
|
String |
getParamValue(int index)
Get the content of the value attribute of the index 'th param
element stored in the container. |
|
String |
getParamValueType(int index)
Get the content of the valueType attribute of the index 'th param
element stored in the container. |
|
int |
size()
Get the number of parameters stored in this container. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public String getParamName(int index) throws IllegalArgumentException
name
attribute of the index
'th param
element stored in the container.
index
- The index of the param
element. This must be in the
range 0 <= index < size()
.
name
attribute of the requested param
element.
This will not be null
.
IllegalArgumentException
- If an index
outside the allowed range is provided.public String getParamValue(int index) throws IllegalArgumentException
value
attribute of the index
'th param
element stored in the container.
index
- The index of the param
element. This must be in the
range 0 <= index < size()
.
value
attribute of the requested param
element.
This will not be null
.
IllegalArgumentException
- If an index
outside the allowed range is provided.public String getParamValueType(int index) throws IllegalArgumentException
valueType
attribute of the index
'th param
element stored in the container.
index
- The index of the param
element. This must be in the
range 0 <= index < size()
.
valueType
attribute of the requested param
element.
This will not be null
.
IllegalArgumentException
- If an index
outside the allowed range is provided.public String getParamType(int index) throws IllegalArgumentException
type
attribute of the index
'th param
element stored in the container.
index
- The index of the param
element. This must be in the
range 0 <= index < size()
.
type
attribute of the requested param
element.
This will not be null
.
IllegalArgumentException
- If an index
outside the allowed range is provided.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.