FileDocCategorySizeDatePackage
JspConfigDescriptor.javaAPI DocGlassfish v2 API3828Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

JspConfigDescriptor

public class JspConfigDescriptor extends Descriptor
This is a descriptor for the taglib config used in a web application.

Fields Summary
private Set
list
private Vector
jspGroups
Constructors Summary
Methods Summary
public voidaddJspGroup(JspGroupDescriptor desc)
add a jsp group element to the set.

	getJspGroupSet().add(desc);
        changed();
    
public voidaddTagLib(TagLibConfigurationDescriptor desc)
add a tag lib element to the set.

	getTagLibSet().add(desc);
        changed();
    
public java.util.CollectiongetJspGroupSet()
return the set of jsp-group elements

	if(jspGroups == null) {
	    jspGroups = new Vector();
	}
	return jspGroups;
    
public java.util.EnumerationgetJspGroups()
return the enumeration of jsp-group elements

	return (new Vector(getJspGroupSet())).elements();
    
public java.util.SetgetTagLibSet()
return the set of tag lib elements

                
       
	if(list == null) {
	    list = new HashSet();
	}
	return list;
    
public java.util.EnumerationgetTagLibs()
return the enumeration of tag lib elements

	return (new Vector(this.getTagLibSet())).elements();
    
public voidprint(java.lang.StringBuffer toStringBuffer)

return
a string describing the values I hold

        toStringBuffer.append("\nTagLibs : ").append(list).append(" jsp groups:").append(jspGroups);
    
public voidremoveJspGroup(JspGroupDescriptor desc)
remove a jsp group element from the set.

	getJspGroupSet().remove(desc);
        changed();
    
public voidremoveTagLib(TagLibConfigurationDescriptor desc)
remove a tag lib element from the set.

	getTagLibSet().remove(desc);
        changed();