javax.servlet.descriptor
Interface JspConfigDescriptor


public interface JspConfigDescriptor

This interface provides access to the <jsp-config> related configuration of a web application.

The configuration is aggregated from the web.xml and web-fragment.xml descriptor files of the web application.

Since:
Servlet 3.0

Method Summary
 java.util.Collection<JspPropertyGroupDescriptor> getJspPropertyGroups()
          Gets the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor.
 java.util.Collection<TaglibDescriptor> getTaglibs()
          Gets the <taglib> child elements of the <jsp-config> element represented by this JspConfigDescriptor.
 

Method Detail

getTaglibs

java.util.Collection<TaglibDescriptor> getTaglibs()
Gets the <taglib> child elements of the <jsp-config> element represented by this JspConfigDescriptor.

Any changes to the returned Collection must not affect this JspConfigDescriptor.

Returns:
a (possibly empty) Collection of the <taglib<>/code> child elements of the <jsp-config> element represented by this JspConfigDescriptor

getJspPropertyGroups

java.util.Collection<JspPropertyGroupDescriptor> getJspPropertyGroups()
Gets the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor.

Any changes to the returned Collection must not affect this JspConfigDescriptor.

Returns:
a (possibly empty) Collection of the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41