org.ow2.jonas.deployment.web.xml
Class JonasServlet
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.web.xml.JonasServlet
- All Implemented Interfaces:
- Serializable, Element
public class JonasServlet
- extends AbsElement
This class defines the implementation of the servlet element.
- Author:
- Francois Fornaciari
- See Also:
- Serialized Form
JonasServlet
public JonasServlet()
setServletName
public void setServletName(String servletName)
- Sets the servlet name
- Parameters:
servletName
- the servlet-name to use
setPrincipalName
public void setPrincipalName(String principalName)
- Sets the principal name
- Parameters:
principalName
- the principal name to use
getServletName
public String getServletName()
- Returns:
- the name of the servlet
getPrincipalName
public String getPrincipalName()
- Returns:
- the princiapl name of the servlet
toXML
public String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prefixing XML representation.
- Returns:
- the XML description of this object.
Copyright © 2010 OW2 Consortium. All Rights Reserved.