Skip navigation links
oracle.jdeveloper.jsp
Class ContextualBrowseablePathSupport
java.lang.Object
oracle.jdeveloper.jsp.ContextualBrowseablePathSupport
- All Implemented Interfaces:
- ContextualBrowseablePath
-
public class ContextualBrowseablePathSupport
- extends java.lang.Object
- implements ContextualBrowseablePath
Moved this support into a sharable class, so different nodes could take advantage of it.
Field Summary |
protected oracle.bali.xml.addin.XMLSourceNode |
m_SourceNode
|
Method Summary |
java.lang.String |
getBrowseablePath(Context context)
Returns the context-relative path that should be used for browsing the object that is being run in the embedded server. |
protected boolean |
isFacesPage(Context context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_SourceNode
protected final oracle.bali.xml.addin.XMLSourceNode m_SourceNode
ContextualBrowseablePathSupport
public ContextualBrowseablePathSupport(oracle.bali.xml.addin.XMLSourceNode sourceNode)
getBrowseablePath
public java.lang.String getBrowseablePath(Context context)
- Description copied from interface:
ContextualBrowseablePath
- Returns the context-relative path that should be used for browsing the object that is being run in the embedded server.
The returned string should not begin with a "/" unless an extra "/" in the target URL is needed. For example, if getBrowseablePath() returns "foo/bar.abc", the target URL will be of the form: http://localhost:8988/Workspace1-Project1-context-root/foo/bar.abc
If getBrowseablePath() returns "/foo/bar.abc", the target URL will be of the form (note the extra "/" before "foo"): http://localhost:8988/Workspace1-Project1-context-root//foo/bar.abc
-
- Specified by:
getBrowseablePath
in interface ContextualBrowseablePath
isFacesPage
protected boolean isFacesPage(Context context)
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.