public class HTMLSerializer extends OutputSerializer
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(byte[] n,
byte[] v)
Serializes an attribute.
|
protected void |
code(int ch)
Encode the specified character before printing it.
|
protected void |
finishClose()
Closes an element.
|
void |
finishComment(byte[] n)
Serializes a comment.
|
protected void |
finishEmpty()
Closes an empty element.
|
protected void |
finishOpen()
Finishes an opening element node.
|
void |
finishPi(byte[] n,
byte[] v)
Serializes a processing instruction.
|
protected void |
startOpen(byte[] t)
Starts an element.
|
close, closeResult, finishAtomic, finished, finishText, finishText, openResult, resetatomic, closeElement, comment, emptyElement, emptyElement, get, get, namespace, node, node, openElement, openElement, pi, textpublic void attribute(byte[] n,
byte[] v)
throws java.io.IOException
Serializerattribute in class OutputSerializern - namev - valuejava.io.IOException - I/O exceptionpublic void finishComment(byte[] n)
throws java.io.IOException
SerializerfinishComment in class OutputSerializern - valuejava.io.IOException - I/O exceptionpublic void finishPi(byte[] n,
byte[] v)
throws java.io.IOException
SerializerfinishPi in class OutputSerializern - namev - valuejava.io.IOException - I/O exceptionprotected void code(int ch)
throws java.io.IOException
OutputSerializerch - character to be encoded and printedjava.io.IOException - I/O exceptionprotected void startOpen(byte[] t)
throws java.io.IOException
SerializerstartOpen in class OutputSerializert - tag namejava.io.IOException - I/O exceptionprotected void finishOpen()
throws java.io.IOException
SerializerfinishOpen in class OutputSerializerjava.io.IOException - I/O exceptionprotected void finishEmpty()
throws java.io.IOException
SerializerfinishEmpty in class OutputSerializerjava.io.IOException - I/O exceptionprotected void finishClose()
throws java.io.IOException
SerializerfinishClose in class OutputSerializerjava.io.IOException - I/O exception