public final class JavaClassNode extends JavaNode
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| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | EXT | 
EXT2LOG_READONLY| Constructor and Description | 
|---|
| JavaClassNode() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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  trueif the Node is read-only. | 
| protected void | saveImpl()Subclasses should override this method to customize the save()
 behavior. | 
acquireTextBuffer, acquireTextBufferInterruptibly, acquireTextBufferOrThrow, addTextBufferListener, closeImpl, createOutputStreamWriter, facadeBuffer, getInputStream, getInputStream, getLoadEncoding, getReader, getSaveEncoding, getTextBufferDirectly, hasEmptyTextBuffer, isDirty, markDirty, markDirtyImpl, openImpl, readUnlock, releaseTextBuffer, removeTextBufferListener, reportOpenException, revertImpl, setDefaultLineTerminator, setLoadEncoding, setSaveEncoding, tryAcquireTextBuffer, upgradeUnlock, urlReadOnlyChanged, writeUnlockaddNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, getURL, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, revert, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, writeLock, writeLockCount, writeLockInterruptiblypublic static final java.lang.String EXT
protected java.io.Reader createReader(java.net.URL url)
TextNodecreateReader in class TextNodeurl - the URL to fetch a Reader forprotected void saveImpl()
NodeNode.save() invokes this only if the node is dirty, under
 write lock.  The Node implementation does nothing.public boolean isReadOnly()
TextNodetrue if the Node is read-only.
 
 TextNode overrides to force the underlying buffer to be read only.isReadOnly in class TextNodeNode.isReadOnly()protected static java.lang.String emitFile(JavaFile javaFile)
javaFile - A JavaFile which cannot be null