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 tagIOExceptionvoid end(String name) throws IOException
name - name of the tagIOExceptionvoid characters(String text) throws IOException
text - tag body.IOExceptionvoid characters(String text, boolean encode) throws IOException
text - tag bodyencode - html encode the bodyIOExceptionCopyright © 2000–2018 Apache Software Foundation. All rights reserved.