public interface TagHandler
Modifier and Type | Method and Description |
---|---|
void |
characters(String text)
Writes to the inner text of a tag.
|
void |
characters(String text,
boolean encode)
Writes to the inner text of a tag
|
void |
end(String name)
Writes a tag close
|
void |
setNext(TagHandler next) |
void |
setup(TemplateRenderingContext context) |
void |
start(String name,
Attributes attributes)
Write a tag openening, with its attributes
|
void setNext(TagHandler next)
void setup(TemplateRenderingContext context)
void start(String name, Attributes attributes) throws IOException
name
- name of the tagattributes
- attributes of the tagIOException
void end(String name) throws IOException
name
- name of the tagIOException
void characters(String text) throws IOException
text
- tag body.IOException
void characters(String text, boolean encode) throws IOException
text
- tag bodyencode
- html encode the bodyIOException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.