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, setInitParameterspublic void release()
TagLibraryValidatorrelease in class TagLibraryValidatorpublic ValidationMessage[] validate(String prefix, String uri, PageData page)
TagLibraryValidatorvalidate in class TagLibraryValidatorprefix - 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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.