|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.model.J2eeSettings
public class J2eeSettings
Settings object for storing the settings associated with a J2EE project. JDeveloper stores its settings in nested structures within the Project file. The J2eeSettings class pulls the values associated with its properties from the file as needed.
Field Summary | |
---|---|
static java.lang.String |
DATA_KEY |
static java.lang.String |
HTML_SOURCE_ROOT |
static java.lang.String |
WEB_CONTENT_SET_KEY The key that identifies the web content set. |
static java.lang.String |
WEB_CONTENT_SET_LOCAL_KEY |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Method Summary | |
---|---|
static void |
addCompilableJspType(java.lang.Class jspCompilableType) Registers the specified Class as representing a compilable JSP type. |
static void |
addJspType(java.lang.Class jspType) Registers the specified Class as representing a JSP type. |
boolean |
getAccessLogEnabled() Returns true if access log is enabled. |
ContentSet |
getHtmlContentSet() |
java.net.URL |
getHtmlRootDirectory() Retrieves the HTML root directory. |
static J2eeSettings |
getInstance(Project project) Retrieves an instance of J2eeSettings for the specified project. |
static J2eeSettings |
getInstance(Project project, PropertyStorage propertyData) |
java.lang.String |
getJ2eeWebAppName() Retrieves the WebApp name. |
java.lang.String |
getJ2eeWebContextRoot() Retrieves the default context root to use with the project. |
java.lang.String |
getJ2eeWebContextRoot(boolean forceSlash) Retrieves the default context root with an optionally required forward slash. |
static boolean |
isCompilableJsp(java.lang.String name) Returns true if the specified name represents some kind of compilable JSP. |
static boolean |
isJsp(java.lang.String name) Returns true if the specified name represents some kind of JSP, JSP fragment, JSP tag node, etc. |
void |
setAccessLogEnabled(boolean enabled) |
void |
setHtmlRootDirectory(java.net.URL root) Sets the HTML root directory. |
void |
setJ2eeWebAppName(java.lang.String j2eeWebAppName) Sets the WebApp name. |
void |
setJ2eeWebContextRoot(java.lang.String j2eeWebContextRoot) Sets the default context root. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DATA_KEY
public static final java.lang.String WEB_CONTENT_SET_LOCAL_KEY
public static final java.lang.String WEB_CONTENT_SET_KEY
public static final java.lang.String HTML_SOURCE_ROOT
Method Detail |
---|
public static J2eeSettings getInstance(Project project)
J2eeSettings
for the specified project. The contents of the Project file will be used to initialize the state of this settings object.project
- the Project containing the settingspublic static J2eeSettings getInstance(Project project, PropertyStorage propertyData)
public java.net.URL getHtmlRootDirectory()
public void setHtmlRootDirectory(java.net.URL root)
root
- the URL specifying the location of the HTML root directorypublic ContentSet getHtmlContentSet()
public java.lang.String getJ2eeWebAppName()
public void setJ2eeWebAppName(java.lang.String j2eeWebAppName)
j2eeWebAppName
- the default WebApp name for the projectpublic java.lang.String getJ2eeWebContextRoot()
public java.lang.String getJ2eeWebContextRoot(boolean forceSlash)
forceSlash
- whether the context root should be forced to start with a forward slashpublic void setJ2eeWebContextRoot(java.lang.String j2eeWebContextRoot)
j2eeWebContextRoot
- the default context root for the projectpublic void setAccessLogEnabled(boolean enabled)
public boolean getAccessLogEnabled()
public static boolean isJsp(java.lang.String name)
public static void addJspType(java.lang.Class jspType)
public static boolean isCompilableJsp(java.lang.String name)
public static void addCompilableJspType(java.lang.Class jspCompilableType)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |