Class Servlet

    • Field Summary

      • Fields inherited from class org.jdom.Element

        additionalNamespaces, name, namespace
      • Fields inherited from class org.jdom.Content

        parent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getServletClass()  
      String getServletName()  
      void setServletClass​(String servletClass)  
      void setServletName​(String servletName)  
      • Methods inherited from class org.jdom.Element

        addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
      • Methods inherited from class org.jdom.Content

        detach, equals, getDocument, getParent, getParentElement, hashCode, setParent
      • Methods inherited from interface org.jdom.Parent

        getDocument, getParent
    • Constructor Detail

      • Servlet

        public Servlet​(WebXmlTag tag)
        Constructor.
        Parameters:
        tag - tag type
      • Servlet

        public Servlet​(WebXmlTag tag,
                       String servletName,
                       String servletClass)
        Constructor.
        Parameters:
        tag - webxml tag
        servletName - name of the servlet
        servletClass - class of the servlet
    • Method Detail

      • getServletClass

        public String getServletClass()
        Returns:
        the servletClass
      • setServletClass

        public void setServletClass​(String servletClass)
        Parameters:
        servletClass - the servletClass to set
      • getServletName

        public String getServletName()
        Returns:
        the servletName
      • setServletName

        public void setServletName​(String servletName)
        Parameters:
        servletName - the servletName to set