org.mevenide.netbeans.j2ee.web
Class WebModuleImpl

java.lang.Object
  extended by org.mevenide.netbeans.j2ee.web.WebModuleImpl
All Implemented Interfaces:
org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

public class WebModuleImpl
extends java.lang.Object
implements org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

Author:
Milos Kleint (mkleint@codehaus.org)

Constructor Summary
WebModuleImpl(org.mevenide.netbeans.api.project.MavenProject proj)
           
 
Method Summary
 java.lang.String getContextPath()
           
 org.openide.filesystems.FileObject getDeploymentDescriptor()
           
 org.openide.filesystems.FileObject getDocumentBase()
           
 java.lang.String getJ2eePlatformVersion()
           
 org.openide.filesystems.FileObject getWebInf()
           
static java.io.File guessWebDescriptor(org.mevenide.netbeans.api.project.MavenProject project)
          return a best guess about the location of the web descriptor
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebModuleImpl

public WebModuleImpl(org.mevenide.netbeans.api.project.MavenProject proj)
Method Detail

getWebInf

public org.openide.filesystems.FileObject getWebInf()
Specified by:
getWebInf in interface org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

getJ2eePlatformVersion

public java.lang.String getJ2eePlatformVersion()
Specified by:
getJ2eePlatformVersion in interface org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

getDocumentBase

public org.openide.filesystems.FileObject getDocumentBase()
Specified by:
getDocumentBase in interface org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

getDeploymentDescriptor

public org.openide.filesystems.FileObject getDeploymentDescriptor()
Specified by:
getDeploymentDescriptor in interface org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

getContextPath

public java.lang.String getContextPath()
Specified by:
getContextPath in interface org.netbeans.modules.web.spi.webmodule.WebModuleImplementation

isValid

public boolean isValid()

guessWebDescriptor

public static java.io.File guessWebDescriptor(org.mevenide.netbeans.api.project.MavenProject project)
return a best guess about the location of the web descriptor



Copyright © 2005 The Codehaus. All Rights Reserved.