|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.Node oracle.ide.model.TextNode oracle.ide.model.DeployableTextNode oracle.jdeveloper.model.JavaNode oracle.jdeveloper.model.JavaClassNode
public final class 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 |
Fields inherited from class oracle.ide.model.Node |
---|
LOG_READONLY |
Constructor Summary | |
---|---|
JavaClassNode()
|
Method Summary | |
---|---|
protected java.io.Reader |
createReader(java.net.URL url)
Fetch a Reader for reading the contents of this node from the given URL. |
protected static java.lang.String |
emitFile(JavaFile javaFile)
Given a JavaFile, emit a source stub for that JavaFile |
boolean |
isReadOnly()
Returns true if the Node is read-only. |
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 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 java.io.Reader createReader(java.net.URL url)
TextNode
createReader
in class TextNode
url
- the URL to fetch a Reader for
protected void saveImpl()
Node
Node.save()
invokes this only if the node is dirty, under
write lock. The Node
implementation does nothing.
saveImpl
in class TextNode
public boolean isReadOnly()
TextNode
true
if the Node is read-only.
TextNode
overrides to force the underlying buffer to be read only.
isReadOnly
in class TextNode
Node.isReadOnly()
protected static java.lang.String emitFile(JavaFile javaFile)
javaFile
- A JavaFile which cannot be null
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |