|
org.netbeans.api.web.webmodule 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebModuleImplementation
SPI for WebModule
.
WebModuleFactory
Method Summary | |
---|---|
String |
getContextPath()
Returns the context path of the web module. |
org.openide.filesystems.FileObject |
getDeploymentDescriptor()
Returns the deployment descriptor ( web.xml file) of the web module. |
org.openide.filesystems.FileObject |
getDocumentBase()
Returns the folder that contains sources of the static documents for the web module (html, JSPs, etc.). |
String |
getJ2eePlatformVersion()
Returns the J2EE platform version of this module. |
org.openide.filesystems.FileObject[] |
getJavaSources()
Deprecated. This method is deprecated, because its return values does not contain enough information about the source roots. Source roots are usually implemented by a org.netbeans.api.project.SourceGroup ,
which is more than just a container for a FileObject . |
org.netbeans.modules.j2ee.metadata.model.api.MetadataModel<org.netbeans.modules.j2ee.dd.api.web.WebAppMetadata> |
getMetadataModel()
Returns a model describing the metadata of this web module (servlets, resources, etc.). |
org.openide.filesystems.FileObject |
getWebInf()
WEB-INF folder for the web module. |
Method Detail |
---|
org.openide.filesystems.FileObject getDocumentBase()
String getContextPath()
String getJ2eePlatformVersion()
WebModule.J2EE_13_LEVEL
,
WebModule.J2EE_14_LEVEL
or
WebModule.JAVA_EE_5_LEVEL
.
org.openide.filesystems.FileObject getWebInf()
getDocumentBase()
but does not need to be.
FileObject
; might be null
org.openide.filesystems.FileObject getDeploymentDescriptor()
web.xml
file) of the web module.
getWebInf()
but does not need to be.
web.xml
file; can be null.@Deprecated org.openide.filesystems.FileObject[] getJavaSources()
org.netbeans.api.project.SourceGroup
,
which is more than just a container for a FileObject
.
Note that not all the java source roots in the project (e.g. in a freeform project) belong to the web module.
org.netbeans.modules.j2ee.metadata.model.api.MetadataModel<org.netbeans.modules.j2ee.dd.api.web.WebAppMetadata> getMetadataModel()
|
org.netbeans.api.web.webmodule 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |