public interface NodeFormater<E extends Node<E>,T extends Document<E>>
Modifier and Type | Method and Description |
---|---|
String |
format(E node)
格式化文档、 并在指定的输出流中输出
|
void |
format(E node,
OutputStream out) |
String |
format(T doc)
格式化文档
|
void |
format(T doc,
OutputStream out) |
void |
setEncode(String encode) |
void setEncode(String encode)
void format(T doc, OutputStream out) throws IOException
IOException
void format(E node, OutputStream out) throws IOException
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.