oracle.jdeveloper.jot
Interface JotBreak
- All Superinterfaces:
- JotBlockElement, JotElement, JotStatement
- public interface JotBreak
- extends JotStatement
A JotBreak
represents a break
statement. A break statement can have
an optional target label. The target label indicates which labeled
statement should be the target of the break statement.
- Since:
- 5.0
- See Also:
- "Section 14.14 of the Java Language Specification"
Fields inherited from interface oracle.jdeveloper.jot.JotStatement |
BLOCK_STATEMENT, BREAK_STATEMENT, CASE_CLAUSE, CONTINUE_STATEMENT, DO_STATEMENT, ELSE_CLAUSE, EMPTY_STATEMENT, EXPRESSION_STATEMENT, FOR_STATEMENT, IF_STATEMENT, RETURN_STATEMENT, SWITCH_STATEMENT, SYNCHRONIZED_STATEMENT, THROW_STATEMENT, TRY_STATEMENT, WHILE_STATEMENT |
Method Summary |
java.lang.String |
getBreakLabel()
Retrieves the target label associated with this break statement. |
void |
setBreakLabel(java.lang.String label)
Sets the target label associated with this break statement. |
Methods inherited from interface oracle.jdeveloper.jot.JotStatement |
addLabel, getAsBlock, getAsBreak, getAsCase, getAsContinue, getAsDo, getAsExpressionStatement, getAsFor, getAsIf, getAsReturn, getAsSwitch, getAsSynchronized, getAsThrow, getAsTry, getAsWhile, getLabels, getStatementText, getStatementType, removeLabel |
getBreakLabel
public java.lang.String getBreakLabel()
- Retrieves the target label associated with this break statement.
- Returns:
- the target label of this break statement, or
null
if this break statement does not have a target label.
setBreakLabel
public void setBreakLabel(java.lang.String label)
- Sets the target label associated with this break statement.
- Parameters:
label
- the target label of this break statement; null
indicates that his break statement does not have a target label.
Copyright ©1997, 2003, Oracle. All rights reserved.