public abstract class JstlBaseTLV
extends javax.servlet.jsp.tagext.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(javax.servlet.jsp.tagext.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() |
javax.servlet.jsp.tagext.ValidationMessage[] |
validate(int type,
String prefix,
String uri,
javax.servlet.jsp.tagext.PageData page) |
protected String |
validateExpression(String elem,
String att,
String expr)
Deprecated.
|
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()
release
in class javax.servlet.jsp.tagext.TagLibraryValidator
public javax.servlet.jsp.tagext.ValidationMessage[] validate(int type, String prefix, String uri, javax.servlet.jsp.tagext.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 isSpecified(javax.servlet.jsp.tagext.TagData data, String attributeName)
protected boolean hasNoInvalidScope(Attributes a)
protected boolean hasEmptyVar(Attributes a)
protected boolean hasDanglingScope(Attributes a)
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.