|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.model.Node
oracle.ide.model.TextNode
oracle.ide.model.DeployableTextNode
oracle.jdeveloper.model.JavaNode
oracle.jdeveloper.model.JavaClassNode
The JavaNode interface represents a Java class element in the JDeveloper
browser. A JavaNode could be either a .class file or a .java
file; however, JDeveloper normally represents a .java file with the
JavaSourceNode, which extends JavaNode.
In addition to providing the usual Node features, a
JavaNode provides access to both a code-level view (through
the JOT subsystem) and a component view (through the CMT subsystem) of the
Java class.
JavaSourceNode| Field Summary | |
static java.lang.String |
EXT
|
| Fields inherited from class oracle.ide.model.DeployableTextNode |
EXT2 |
| Constructor Summary | |
JavaClassNode()
|
|
| Method Summary | |
protected void |
closeImpl()
Subclasses should override this method to customize the close() behavior. |
java.io.InputStream |
getInputStream()
NOTE: Use of TextNode.getInputStream() is highly discouraged because of the NLS issues raised by using byte streams for text and the associated poor performance caused by char-to-byte conversion. |
protected TextBuffer |
getTextBufferDirectly()
Directly gets the TextBuffer. |
protected void |
openImpl()
Subclasses should override this method to customize the open() behavior. |
protected void |
revertImpl()
Subclasses should override this method to customize the revert() behavior. |
protected void |
saveImpl()
Subclasses should override this method to customize the save() behavior. |
| Methods inherited from class oracle.jdeveloper.model.JavaNode |
getIcon, setIcon |
| Methods inherited from class oracle.ide.model.TextNode |
acquireTextBuffer, createOutputStreamWriter, createReader, dataExpired, getInputStream, getLoadEncoding, getReader, getSaveEncoding, hasEmptyTextBuffer, isDirty, isReadOnly, markDirty, releaseTextBuffer, removeTextBufferListener, reportOpenException, setDefaultLineTerminator, setLoadEncoding, setReadOnly, setSaveEncoding, updateReadOnlyFlag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String EXT
| Constructor Detail |
public JavaClassNode()
| Method Detail |
protected void openImpl()
throws java.io.IOException
Node
openImpl in class TextNodejava.io.IOException
protected void closeImpl()
throws java.io.IOException
Node
closeImpl in class TextNodejava.io.IOException
protected void saveImpl()
throws java.io.IOException
Node
saveImpl in class TextNodejava.io.IOException
protected void revertImpl()
throws java.io.IOException
Node
revertImpl in class TextNodejava.io.IOException
public java.io.InputStream getInputStream()
throws java.io.IOException
TextNode
Returns an InputStream that's backed by the current
TextBuffer.
getInputStream in class TextNodejava.io.IOExceptionprotected TextBuffer getTextBufferDirectly()
TextNodeTextBuffer. This method is primarily
intended for subclass customization of TextNode.
getTextBufferDirectly in class TextNode
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.