org.codehaus.enunciate.main.webapp
Class WebAppComponent

java.lang.Object
  extended by org.codehaus.enunciate.main.webapp.WebAppComponent

public class WebAppComponent
extends java.lang.Object

Component for web application, e.g. filter, servlet, listener.

Author:
Ryan Heaton

Constructor Summary
WebAppComponent()
           
 
Method Summary
 void addInitParam(java.lang.String name, java.lang.String value)
          Add an init param to this component.
 void addUrlMapping(java.lang.String urlMapping)
          Add a url mapping.
 java.lang.String getClassname()
          The classname of the component.
 java.util.Map<java.lang.String,java.lang.String> getInitParams()
          The init params of the component.
 java.lang.String getName()
          The servlet name.
 java.util.Set<java.lang.String> getUrlMappings()
          The URL mappings of the component.
 void setClassname(java.lang.String classname)
          The classname of the component.
 void setInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
          The init params of the component.
 void setName(java.lang.String name)
          The servlet name.
 void setUrlMappings(java.util.Set<java.lang.String> urlMappings)
          The URL mappings of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppComponent

public WebAppComponent()
Method Detail

getName

public java.lang.String getName()
The servlet name.

Returns:
The servlet name.

setName

public void setName(java.lang.String name)
The servlet name.

Parameters:
name - The servlet name.

getClassname

public java.lang.String getClassname()
The classname of the component.

Returns:
The classname of the component.

setClassname

public void setClassname(java.lang.String classname)
The classname of the component.

Parameters:
classname - The classname of the component.

getUrlMappings

public java.util.Set<java.lang.String> getUrlMappings()
The URL mappings of the component.

Returns:
The URL mappings of the component.

setUrlMappings

public void setUrlMappings(java.util.Set<java.lang.String> urlMappings)
The URL mappings of the component.

Parameters:
urlMappings - The URL mappings of the component.

addUrlMapping

public void addUrlMapping(java.lang.String urlMapping)
Add a url mapping.

Parameters:
urlMapping - The url mapping to add.

getInitParams

public java.util.Map<java.lang.String,java.lang.String> getInitParams()
The init params of the component.

Returns:
The init params of the component.

setInitParams

public void setInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
The init params of the component.

Parameters:
initParams - The init params of the component.

addInitParam

public void addInitParam(java.lang.String name,
                         java.lang.String value)
Add an init param to this component.

Parameters:
name - The name of the init param.
value - The value of the init param.