oracle.jdeveloper.model
Class JspSourceNode
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.ide.model.DefaultDocument
oracle.ide.model.DefaultNode
oracle.ide.model.TextNode
oracle.ide.model.DeployableTextNode
oracle.jdevimpl.webapp.html.HtmlSourceNode
oracle.jdeveloper.model.JspSourceNode
- All Implemented Interfaces:
- Browseable, Category, Data, Dirtyable, Displayable, Document, Element, LazyLoadable, Locatable, Node, PackagedSource, Subject, TextDocument
- public class JspSourceNode
- extends oracle.jdevimpl.webapp.html.HtmlSourceNode
- implements Browseable, PackagedSource
The JspSourceNode
interface represents a Jsp source file
in the JDeveloper browser.
Field Summary |
static java.lang.String |
defaultName
|
static java.lang.String |
EXT
|
Fields inherited from class oracle.jdevimpl.webapp.html.HtmlSourceNode |
ALTERNATE_EXT |
Method Summary |
javax.swing.Icon |
getIcon()
Returns the Icon for this node instance |
java.lang.String |
getPackage(JProject project)
Returns the package for the source file. |
java.lang.String |
getSourceFile()
Returns the file name for the source file. |
Methods inherited from class oracle.jdevimpl.webapp.html.HtmlSourceNode |
getCategory, getEncoding, getInputStream, reopen, save, setEncoding |
Methods inherited from class oracle.ide.model.TextNode |
acquireTextBuffer, close, getLoadEncoding, getReader, getSaveEncoding, getTextBufferDirectly, hasEmptyTextBuffer, isDirty, isReadOnly, markDirty, open, releaseTextBuffer, setTextBufferDirectly, updateReadOnlyFlag |
Methods inherited from class oracle.ide.model.DefaultDocument |
attach, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampDirectly, getToolTipText, getURL, isNew, isOpen, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Data |
getData |
EXT
public static final java.lang.String EXT
- See Also:
- Constant Field Values
defaultName
public static final java.lang.String defaultName
JspSourceNode
public JspSourceNode()
getIcon
public javax.swing.Icon getIcon()
- Returns the Icon for this node instance
- Specified by:
getIcon
in interface Displayable
getPackage
public java.lang.String getPackage(JProject project)
- Description copied from interface:
PackagedSource
- Returns the package for the source file.
Note that the package returned here may begin with a '*' which
means that the exact package is not known.
- Specified by:
getPackage
in interface PackagedSource
- Parameters:
project
- the project which contains the source file
- Returns:
- the package for the source file.
getSourceFile
public java.lang.String getSourceFile()
- Description copied from interface:
PackagedSource
- Returns the file name for the source file.
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.
- Specified by:
getSourceFile
in interface PackagedSource
- Returns:
- the source file name for the source file.
Copyright ©1997, 2003, Oracle. All rights reserved.