|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotArrayAllocation
represents an array allocation
expression. Array allocation expressions are used to create new array
instances and have one of the following forms:
new String[3] new int[5][] new String[] { "Foo", "Bar" }
Field Summary |
Method Summary | |
int |
getDimensions()
Retrieves the dimensions of this array allocation expression. |
JotExpression |
getExpressionAt(int dimension)
Retrieves a dimension expression. |
JotArrayInitializer |
getInitializationExpression()
Retrieves the current array initialiation expression. |
JotExpression |
setExpressionAt(int dimension,
java.lang.String exp)
Sets a dimension expression. |
JotArrayInitializer |
setInitializationExpression(java.lang.String exp)
Sets the array initialization expression. |
Methods inherited from interface oracle.jdeveloper.jot.JotAllocation |
getObjectType, setObjectType |
Methods inherited from interface oracle.jdeveloper.jot.JotCodeElement |
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public int getDimensions() throws JotInvalidElementException
JotInvalidElementException
public JotExpression getExpressionAt(int dimension) throws JotInvalidElementException
dimension
- the dimension whose expression is required.
JotInvalidElementException
public JotExpression setExpressionAt(int dimension, java.lang.String exp) throws JotInvalidElementException
dimension
- the specifiec dimension indexexp
- the new expression.
JotExpression
JotInvalidElementException
public JotArrayInitializer getInitializationExpression() throws JotInvalidElementException
null
if none is set.
JotInvalidElementException
public JotArrayInitializer setInitializationExpression(java.lang.String exp) throws JotInvalidElementException
exp
- the new expression, or null
to remove the expression.
JotArrayInitializer
.
JotInvalidElementException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.