Class AbstractTagHandler
java.lang.Object
org.apache.struts2.views.java.simple.AbstractTagHandler
- All Implemented Interfaces:
TagHandler
- Direct Known Subclasses:
AbstractMessageListHandler
,AnchorHandler
,AnchorHandler.CloseHandler
,CheckboxHandler
,CheckboxListHandler
,CommonAttributesHandler
,DateTextFieldHandler
,DynamicAttributesHandler
,EmptyHandler
,FieldErrorHandler
,FileHandler
,FormHandler
,FormHandler.CloseHandler
,HeadHandler
,HiddenHandler
,LabelHandler
,LinkHandler
,NonceHandler
,PasswordHandler
,RadioHandler
,ResetHandler
,ScriptHandler
,ScriptHandler.CloseHandler
,ScriptingEventsHandler
,SelectHandler
,SubmitHandler
,SubmitHandler.CloseHandler
,TextAreaHandler
,TextFieldHandler
,TokenHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(String text) Writes to the inner text of a tag.void
characters
(String text, boolean encode) Writes to the inner text of a tagvoid
Writes a tag closeprotected String
findString
(String expr) protected Object
protected void
void
setNext
(TagHandler next) void
setup
(TemplateRenderingContext context) void
start
(String name, Attributes a) Write a tag openening, with its attributes
-
Field Details
-
nextTagHandler
-
context
-
-
Constructor Details
-
AbstractTagHandler
public AbstractTagHandler()
-
-
Method Details
-
characters
Description copied from interface:TagHandler
Writes to the inner text of a tag. By default the body is html encoded- Specified by:
characters
in interfaceTagHandler
- Parameters:
text
- tag body.- Throws:
IOException
-
characters
Description copied from interface:TagHandler
Writes to the inner text of a tag- Specified by:
characters
in interfaceTagHandler
- Parameters:
text
- tag bodyencode
- html encode the body- Throws:
IOException
-
end
Description copied from interface:TagHandler
Writes a tag close- Specified by:
end
in interfaceTagHandler
- Parameters:
name
- name of the tag- Throws:
IOException
-
setNext
- Specified by:
setNext
in interfaceTagHandler
-
start
Description copied from interface:TagHandler
Write a tag openening, with its attributes- Specified by:
start
in interfaceTagHandler
- Parameters:
name
- name of the taga
- attributes of the tag- Throws:
IOException
-
setup
- Specified by:
setup
in interfaceTagHandler
-
processParams
protected void processParams() -
findString
-
findValue
-