com.mockrunner.mock.web.MockJspConfigDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockrunner-core Show documentation
Show all versions of mockrunner-core Show documentation
Core classes common to all Mockrunner modules
package com.mockrunner.mock.web;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
public class MockJspConfigDescriptor // implements JspConfigDescriptor
{
private List jspPropertyGroups;
private List taglibs;
public MockJspConfigDescriptor()
{
reset();
}
public void reset()
{
jspPropertyGroups = new ArrayList();
taglibs = new ArrayList();
}
public Collection getJspPropertyGroups()
{
return new ArrayList(jspPropertyGroups);
}
public Collection getTaglibs()
{
return new ArrayList(taglibs);
}
/**
* Adds a JspPropertyGroupDescriptor
to the list of JSP property groups.
*
* @param jspPropertyGroup the JspPropertyGroupDescriptor
to add
*/
// public void addJspPropertyGroup(JspPropertyGroupDescriptor jspPropertyGroup)
// {
// this.jspPropertyGroups.add(jspPropertyGroup);
// }
/**
* Clears the list of JSP property groups.
*/
public void clearJspPropertyGroups()
{
this.jspPropertyGroups.clear();
}
/**
* Adds a TaglibDescriptor
to the list of taglibs.
*
* @param taglib the TaglibDescriptor
to add
*/
// public void addTaglib(TaglibDescriptor taglib)
// {
// this.taglibs.add(taglib);
// }
/**
* Clears the list of taglibs.
*/
public void clearTaglibs()
{
this.taglibs.clear();
}
}