public class JstlFmtTLV extends JstlBaseTLV
A SAX-based TagLibraryValidator for the JSTL i18n-capable formatting library. Currently implements the following checks:
APPLICATION_SCOPE, config, failed, JSP, lastElementId, messageVector, PAGE_SCOPE, prefix, REQUEST_SCOPE, SCOPE, SESSION_SCOPE, TYPE_CORE, TYPE_FMT, TYPE_SQL, TYPE_XML, uri, VAR
Constructor and Description |
---|
JstlFmtTLV() |
Modifier and Type | Method and Description |
---|---|
protected DefaultHandler |
getHandler() |
ValidationMessage[] |
validate(String prefix,
String uri,
PageData page)
Validate a JSP page.
|
fail, getLocalPart, hasAttribute, hasDanglingScope, hasEmptyVar, hasNoInvalidScope, isCoreTag, isFmtTag, isJspTag, isSpecified, isSqlTag, isTag, isXmlTag, release, validate, validateExpression
getInitParameters, setInitParameters
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 objectprotected DefaultHandler getHandler()
getHandler
in class JstlBaseTLV
Copyright © 2017 JBoss by Red Hat. All rights reserved.