|
org.netbeans.api.web.webmodule 1.18 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebModuleImplementation2
SPI for WebModule.
WebModuleFactory| Field Summary | |
|---|---|
static String |
PROPERTY_DOCUMENT_BASE
|
static String |
PROPERTY_WEB_INF
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add propertty change listener. |
String |
getContextPath()
Returns the context path of the web module. |
FileObject |
getDeploymentDescriptor()
Returns the deployment descriptor ( web.xml file) of the web module. |
FileObject |
getDocumentBase()
Returns the folder that contains sources of the static documents for the web module (html, JSPs, etc.). |
org.netbeans.api.j2ee.core.Profile |
getJ2eeProfile()
|
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. |
MetadataModel<WebAppMetadata> |
getMetadataModel()
Returns a model describing the metadata of this web module (servlets, resources, etc.). |
FileObject |
getWebInf()
WEB-INF folder for the web module. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove propertty change listener. |
| Field Detail |
|---|
static final String PROPERTY_DOCUMENT_BASE
static final String PROPERTY_WEB_INF
| Method Detail |
|---|
FileObject getDocumentBase()
String getContextPath()
org.netbeans.api.j2ee.core.Profile getJ2eeProfile()
FileObject getWebInf()
getDocumentBase() but does not need to be.
FileObject; might be nullFileObject getDeploymentDescriptor()
web.xml file) of the web module.
getWebInf() but does not need to be.
web.xml file; can be null.@Deprecated 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.
MetadataModel<WebAppMetadata> getMetadataModel()
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
|
org.netbeans.api.web.webmodule 1.18 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||