public abstract class JstlBaseTLV extends TagLibraryValidator
A base class to support SAX-based validation in JSTL.
Modifier and Type | Field and Description |
---|---|
protected static String |
APPLICATION_SCOPE |
protected Map |
config |
protected boolean |
failed |
protected String |
JSP |
protected String |
lastElementId |
protected Vector |
messageVector |
protected static String |
PAGE_SCOPE |
protected String |
prefix |
protected static String |
REQUEST_SCOPE |
protected static String |
SCOPE |
protected static String |
SESSION_SCOPE |
protected static int |
TYPE_CORE |
protected static int |
TYPE_FMT |
protected static int |
TYPE_SQL |
protected static int |
TYPE_XML |
protected String |
uri |
protected static String |
VAR |
Constructor and Description |
---|
JstlBaseTLV() |
Modifier and Type | Method and Description |
---|---|
protected void |
fail(String message) |
protected abstract DefaultHandler |
getHandler() |
protected String |
getLocalPart(String qname) |
protected boolean |
hasAttribute(Attributes a,
String att) |
protected boolean |
hasDanglingScope(Attributes a) |
protected boolean |
hasEmptyVar(Attributes a) |
protected boolean |
hasNoInvalidScope(Attributes a) |
protected boolean |
isCoreTag(String tagUri,
String tagLn,
String target) |
protected boolean |
isFmtTag(String tagUri,
String tagLn,
String target) |
protected boolean |
isJspTag(String tagUri,
String tagLn,
String target) |
protected boolean |
isSpecified(TagData data,
String attributeName) |
protected boolean |
isSqlTag(String tagUri,
String tagLn,
String target) |
protected boolean |
isTag(String tagUri,
String tagLn,
String matchUri,
String matchLn) |
protected boolean |
isXmlTag(String tagUri,
String tagLn,
String target) |
void |
release()
Release any data kept by this instance for validation purposes.
|
ValidationMessage[] |
validate(int type,
String prefix,
String uri,
PageData page) |
protected String |
validateExpression(String elem,
String att,
String expr)
Deprecated.
|
getInitParameters, setInitParameters, validate
protected static final String VAR
protected static final String SCOPE
protected static final String PAGE_SCOPE
protected static final String REQUEST_SCOPE
protected static final String SESSION_SCOPE
protected static final String APPLICATION_SCOPE
protected final String JSP
protected static final int TYPE_CORE
protected static final int TYPE_FMT
protected static final int TYPE_SQL
protected static final int TYPE_XML
protected String uri
protected String prefix
protected Vector messageVector
protected Map config
protected boolean failed
protected String lastElementId
protected abstract DefaultHandler getHandler()
public void release()
TagLibraryValidator
release
in class TagLibraryValidator
public ValidationMessage[] validate(int type, String prefix, String uri, PageData page)
@Deprecated protected String validateExpression(String elem, String att, String expr)
protected boolean hasAttribute(Attributes a, String att)
protected void fail(String message)
protected boolean hasNoInvalidScope(Attributes a)
protected boolean hasEmptyVar(Attributes a)
protected boolean hasDanglingScope(Attributes a)
Copyright © 2017 JBoss by Red Hat. All rights reserved.