Extension SDK 9.0.5

oracle.jdeveloper.jot
Interface JotHasCodeBlock

All Known Subinterfaces:
JotCatch, JotClassInitializer, JotConstructor, JotMethod, JotSwitch, JotSynchronized, JotTry

public interface JotHasCodeBlock

The JotHasCodeBlock interface identifies JOT objects that contain a code block.

Since:
5.0

Method Summary
 JotCodeBlock getCodeBlock()
          Retrieves the code block associated with this object.
 void setCodeBlockText(java.lang.String text)
          Sets the text of this object's code block.
 

Method Detail

getCodeBlock

public JotCodeBlock getCodeBlock()
                          throws JotInvalidElementException
Retrieves the code block associated with this object.

Throws:
JotInvalidElementException

setCodeBlockText

public void setCodeBlockText(java.lang.String text)
                      throws JotInvalidElementException
Sets the text of this object's code block. Any existing contents of the code block are removed.

Throws:
JotInvalidElementException

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.