public class PermittedTaglibsTLV extends TagLibraryValidator
A TagLibraryValidator class to allow a TLD to restrict what taglibs (in addition to itself) may be imported on a page where it's used.
This TLV supports the following initialization parameter:
This implementation only detects tag libraries declared on the
including libraries in regular JSP files or JSP Documents with a specific
It does not detect libraries declared on other elements as supported by JSP 2.0.
|Constructor and Description|
|Modifier and Type||Method and Description|
Set the init data in the TLD for this validator.
Validate a JSP page.
public ValidationMessage validate(String prefix, String uri, PageData page)
prefix- the first prefix with which the tag library is associated, in the XML view. Note that some tags may use a different prefix if the namespace is redefined.
uri- the tag library's unique identifier
page- the JspData page object
Copyright © 2021 JBoss by Red Hat. All rights reserved.