Package jakarta.faces.view.facelets
Class TagHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
- All Implemented Interfaces:
FaceletHandler
- Direct Known Subclasses:
MetaTagHandler
Foundation class for FaceletHandlers associated with markup in a Facelet document.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FaceletHandler
protected final Tag
protected final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final TagAttribute
getAttribute
(String localName) Utility method for fetching the appropriate TagAttributeprotected final TagAttribute
getRequiredAttribute
(String localName) Utility method for fetching a required TagAttributetoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.faces.view.facelets.FaceletHandler
apply
-
Field Details
-
tagId
-
tag
-
nextHandler
-
-
Constructor Details
-
TagHandler
-
-
Method Details
-
getAttribute
Utility method for fetching the appropriate TagAttribute- Parameters:
localName
- name of attribute- Returns:
- TagAttribute if found, otherwise null
-
getRequiredAttribute
Utility method for fetching a required TagAttribute- Parameters:
localName
- name of the attribute- Returns:
- TagAttribute if found, otherwise error
- Throws:
TagException
- if the attribute was not found
-
toString
-