| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| 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.JavaSourceNode
public final class JavaSourceNode
The JavaSourceNode interface represents a Java source file 
 in the JDeveloper browser.  In addition to providing the services supported 
 by the JavaNode interface, the JavaSourceNode 
 interface provides access to a source view of the file through the JOT
 subystem.
 
| Field Summary | |
|---|---|
static java.lang.String | 
defaultName
 | 
static java.lang.String | 
EXT
 | 
static java.lang.String | 
SQLJ_EXT
 | 
| Fields inherited from class oracle.ide.model.DeployableTextNode | 
|---|
EXT2 | 
| Fields inherited from class oracle.ide.model.Node | 
|---|
LOG_READONLY | 
| Constructor Summary | |
|---|---|
JavaSourceNode()
 | 
|
| Method Summary | |
|---|---|
protected  void | 
closeImpl()
Subclasses should override this method to customize the close() behavior.  | 
 java.lang.String | 
getPackage()
 | 
 java.lang.String | 
getPackage(Project project)
Returns the package for the source file.  | 
 java.lang.String | 
getSourceFile()
Returns the file name for the source file.  | 
 boolean | 
isSqlj()
 | 
 oracle.javatools.parser.java.v1.symbol.RootSymbol | 
parse1()
Deprecated. Use oracle.jdeveloper.java.JavaManager and oracle.jdeveloper.java.JavaModel for access to a Java Model of any source in a project.  | 
 oracle.javatools.parser.java.v1.symbol.RootSymbol | 
parse1(boolean fullDepth)
Deprecated. Use oracle.jdeveloper.java.JavaManager and oracle.jdeveloper.java.JavaModel for access to a Java Model of any source in a project.  | 
| 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
public static final java.lang.String SQLJ_EXT
public static final java.lang.String defaultName
| Constructor Detail | 
|---|
public JavaSourceNode()
| Method Detail | 
|---|
protected void closeImpl()
                  throws java.io.IOException
NodeNode.close() invokes this only if the node is open, under
 write lock.  The Node implementation does nothing.
closeImpl in class TextNodejava.io.IOException - if an I/O error occurred while closingpublic boolean isSqlj()
true if this JavaSourceNode represents
  a SQLJ source file; false if it's a regular
  Java source file.public java.lang.String getPackage()
public java.lang.String getPackage(Project project)
PackagedSource
getPackage in interface PackagedSourceproject - the project which contains the source file
public java.lang.String getSourceFile()
PackagedSource
 In the case of a normal Java file, this method should return the
 source file attribute, defined as the following:
 Only the name of the source file is given by the source file attribute
 it never represents the name of a directory containing the file or an 
 absolute path name for the file.  For instance the source file attribute
 may contain file name foo.java but not the UNIX path name
 /home/jdevwork/workspace1/project1/package1/foo.java.
getSourceFile in interface PackagedSource@Deprecated public oracle.javatools.parser.java.v1.symbol.RootSymbol parse1(boolean fullDepth)
fullDepth - Request full-depth.
@Deprecated public oracle.javatools.parser.java.v1.symbol.RootSymbol parse1()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||