What this is
This file is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn
Java by Example" TM.
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.api.web.dd;
/**
* Generated interface for Servlet element.
*
*Important note: Do not provide an implementation of this interface unless you are a DD API provider!
*
*/
public interface Servlet extends org.netbeans.api.web.dd.common.ComponentInterface {
/** Setter for servlet-name property.
* @param value property value
*/
public void setServletName(java.lang.String value);
/** Getter for servlet-name property.
* @return property value
*/
public java.lang.String getServletName();
/** Setter for servlet-class property.
* @param value property value
*/
public void setServletClass(java.lang.String value);
/** Getter for servlet-class property.
* @return property value
*/
public java.lang.String getServletClass();
/** Setter for jsp-file property.
* @param value property value
*/
public void setJspFile(java.lang.String value);
/** Getter for jsp-file property.
* @return property value
*/
public java.lang.String getJspFile();
/** Setter for init-param element.
* @param index position in the array of elements
* @param valueInterface init-param element (InitParam object)
*/
public void setInitParam(int index, org.netbeans.api.web.dd.InitParam valueInterface);
/** Getter for init-param element.
* @param index position in the array of elements
* @return init-param element (InitParam object)
*/
public org.netbeans.api.web.dd.InitParam getInitParam(int index);
/** Setter for init-param elements.
* @param value array of init-param elements (InitParam objects)
*/
public void setInitParam(org.netbeans.api.web.dd.InitParam[] value);
/** Getter for init-param elements.
* @return array of init-param elements (InitParam objects)
*/
public org.netbeans.api.web.dd.InitParam[] getInitParam();
/** Returns size of init-param elements.
* @return number of init-param elements
*/
public int sizeInitParam();
/** Adds init-param element.
* @param valueInterface init-param element (InitParam object)
* @return index of new init-param
*/
public int addInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
/** Removes init-param element.
* @param valueInterface init-param element (InitParam object)
* @return index of the removed init-param
*/
public int removeInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
/** Setter for load-on-startup property.
* @param value property value
*/
public void setLoadOnStartup(java.math.BigInteger value);
/** Getter for load-on-startup property.
* @return property value
*/
public java.math.BigInteger getLoadOnStartup();
/** Setter for run-as element.
* @param valueInterface run-as element (RunAs object)
*/
public void setRunAs(org.netbeans.api.web.dd.RunAs valueInterface);
/** Getter for run-as element.
* @return run-as element (RunAs object)
*/
public org.netbeans.api.web.dd.RunAs getRunAs();
/** Setter for security-role-ref element.
* @param index position in the array of elements
* @param valueInterface security-role-ref element (SecurityRoleRef object)
*/
public void setSecurityRoleRef(int index, org.netbeans.api.web.dd.SecurityRoleRef valueInterface);
/** Getter for security-role-ref element.
* @param index position in the array of elements
* @return security-role-ref element (SecurityRoleRef object)
*/
public org.netbeans.api.web.dd.SecurityRoleRef getSecurityRoleRef(int index);
/** Setter for security-role-ref elements.
* @param value array of security-role-ref elements (SecurityRoleRef objects)
*/
public void setSecurityRoleRef(org.netbeans.api.web.dd.SecurityRoleRef[] value);
/** Getter for security-role-ref elements.
* @return array of security-role-ref elements (SecurityRoleRef objects)
*/
public org.netbeans.api.web.dd.SecurityRoleRef[] getSecurityRoleRef();
/** Returns size of security-role-ref elements.
* @return number of security-role-ref elements
*/
public int sizeSecurityRoleRef();
/** Adds security-role-ref element.
* @param valueInterface security-role-ref element (SecurityRoleRef object)
* @return index of new security-role-ref
*/
public int addSecurityRoleRef(org.netbeans.api.web.dd.SecurityRoleRef valueInterface);
/** Removes security-role-ref element.
* @param valueInterface security-role-ref element (SecurityRoleRef object)
* @return index of the removed security-role-ref
*/
public int removeSecurityRoleRef(org.netbeans.api.web.dd.SecurityRoleRef valueInterface);
}
|