Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.jsp
Class ContextualBrowseablePathSupport

java.lang.Object
  extended by 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
           
 
Constructor Summary
ContextualBrowseablePathSupport(oracle.bali.xml.addin.XMLSourceNode 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
 

Field Detail

m_SourceNode

protected final oracle.bali.xml.addin.XMLSourceNode m_SourceNode
Constructor Detail

ContextualBrowseablePathSupport

public ContextualBrowseablePathSupport(oracle.bali.xml.addin.XMLSourceNode sourceNode)
Method Detail

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)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.