|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.views.java.XHTMLTagSerializer
public class XHTMLTagSerializer
Write tags as XHTML
| Field Summary | |
|---|---|
protected Writer |
writer
|
| Constructor Summary | |
|---|---|
XHTMLTagSerializer()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Writer writer
| Constructor Detail |
|---|
public XHTMLTagSerializer()
| Method Detail |
|---|
public void characters(String text)
throws IOException
TagHandler
characters in interface TagHandlertext - tag body.
IOException
public void characters(String text,
boolean encode)
throws IOException
TagHandler
characters in interface TagHandlertext - tag bodyencode - html encode the body
IOException
public void end(String name)
throws IOException
TagHandler
end in interface TagHandlername - name of the tag
IOExceptionpublic void setNext(TagHandler next)
setNext in interface TagHandler
public void start(String name,
Attributes attrs)
throws IOException
TagHandler
start in interface TagHandlername - name of the tagattrs - attributes of the tag
IOExceptionpublic void setup(TemplateRenderingContext context)
setup in interface TagHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||