Package org.apache.taglibs.standard.tlv
Class JstlBaseTLV
java.lang.Object
jakarta.servlet.jsp.tagext.TagLibraryValidator
org.apache.taglibs.standard.tlv.JstlBaseTLV
- Direct Known Subclasses:
JstlCoreTLV,JstlFmtTLV,JstlSqlTLV,JstlXmlTLV
A base class to support SAX-based validation in JSTL.
- Author:
- Shawn Bayern
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected booleanprotected final Stringprotected Stringprotected Vector<ValidationMessage>protected static final Stringprotected Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final intprotected static final intprotected static final intprotected static final intprotected Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract DefaultHandlerprotected StringgetLocalPart(String qname) protected booleanhasAttribute(Attributes a, String att) protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanisSpecified(TagData data, String attributeName) protected booleanprotected booleanprotected booleanvoidrelease()Release any data kept by this instance for validation purposes.protected StringvalidateExpression(String elem, String att, String expr) Methods inherited from class jakarta.servlet.jsp.tagext.TagLibraryValidator
getInitParameters, setInitParameters, validate
-
Field Details
-
VAR
- See Also:
-
SCOPE
- See Also:
-
PAGE_SCOPE
- See Also:
-
REQUEST_SCOPE
- See Also:
-
SESSION_SCOPE
- See Also:
-
APPLICATION_SCOPE
- See Also:
-
JSP
- See Also:
-
TYPE_CORE
protected static final int TYPE_CORE- See Also:
-
TYPE_FMT
protected static final int TYPE_FMT- See Also:
-
TYPE_SQL
protected static final int TYPE_SQL- See Also:
-
TYPE_XML
protected static final int TYPE_XML- See Also:
-
uri
-
prefix
-
messageVector
-
config
-
failed
protected boolean failed -
lastElementId
-
-
Constructor Details
-
JstlBaseTLV
public JstlBaseTLV()
-
-
Method Details
-
getHandler
-
release
public void release()Description copied from class:TagLibraryValidatorRelease any data kept by this instance for validation purposes.- Overrides:
releasein classTagLibraryValidator
-
validate
-
validateExpression
-
isTag
-
isJspTag
-
isCoreTag
-
isFmtTag
-
isSqlTag
-
isXmlTag
-
hasAttribute
-
fail
-
isSpecified
-
hasNoInvalidScope
-
hasEmptyVar
-
hasDanglingScope
-
getLocalPart
-