public class XHTMLTagSerializer extends Object implements TagSerializer
| Constructor and Description | 
|---|
| XHTMLTagSerializer() | 
| 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 attrs)Write a tag openening, with its attributes | 
protected Writer writer
public void characters(String text) throws IOException
TagHandlercharacters in interface TagHandlertext - tag body.IOExceptionpublic void characters(String text, boolean encode) throws IOException
TagHandlercharacters in interface TagHandlertext - tag bodyencode - html encode the bodyIOExceptionpublic void end(String name) throws IOException
TagHandlerend in interface TagHandlername - name of the tagIOExceptionpublic void setNext(TagHandler next)
setNext in interface TagHandlerpublic void start(String name, Attributes attrs) throws IOException
TagHandlerstart in interface TagHandlername - name of the tagattrs - attributes of the tagIOExceptionpublic void setup(TemplateRenderingContext context)
setup in interface TagHandlerCopyright © 2000–2025 Apache Software Foundation. All rights reserved.