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:
Constructor and Description |
---|
PermittedTaglibsTLV() |
Modifier and Type | Method and Description |
---|---|
void |
release()
Release any data kept by this instance for validation purposes.
|
ValidationMessage[] |
validate(String prefix,
String uri,
PageData page)
Validate a JSP page.
|
getInitParameters, setInitParameters
public void release()
TagLibraryValidator
release
in class TagLibraryValidator
public ValidationMessage[] validate(String prefix, String uri, PageData page)
TagLibraryValidator
validate
in class TagLibraryValidator
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 identifierpage
- the JspData page objectCopyright © 2012 JBoss by Red Hat. All Rights Reserved.