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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcharacters(String text) Writes to the inner text of a tag.voidcharacters(String text, boolean encode) Writes to the inner text of a tagvoidWrites a tag closeprotected StringfindString(String expr) protected Objectprotected voidvoidsetNext(TagHandler next) voidsetup(TemplateRenderingContext context) voidstart(String name, Attributes a) Write a tag openening, with its attributes
- 
Field Details- 
nextTagHandler
- 
context
 
- 
- 
Constructor Details- 
AbstractTagHandlerpublic AbstractTagHandler()
 
- 
- 
Method Details- 
charactersDescription copied from interface:TagHandlerWrites to the inner text of a tag. By default the body is html encoded- Specified by:
- charactersin interface- TagHandler
- Parameters:
- text- tag body.
- Throws:
- IOException
 
- 
charactersDescription copied from interface:TagHandlerWrites to the inner text of a tag- Specified by:
- charactersin interface- TagHandler
- Parameters:
- text- tag body
- encode- html encode the body
- Throws:
- IOException
 
- 
endDescription copied from interface:TagHandlerWrites a tag close- Specified by:
- endin interface- TagHandler
- Parameters:
- name- name of the tag
- Throws:
- IOException
 
- 
setNext- Specified by:
- setNextin interface- TagHandler
 
- 
startDescription copied from interface:TagHandlerWrite a tag openening, with its attributes- Specified by:
- startin interface- TagHandler
- Parameters:
- name- name of the tag
- a- attributes of the tag
- Throws:
- IOException
 
- 
setup- Specified by:
- setupin interface- TagHandler
 
- 
processParamsprotected void processParams()
- 
findString
- 
findValue
 
-