Package | Description |
---|---|
org.dromara.hutool.core.xml |
XML相关工具封装
|
Modifier and Type | Method and Description |
---|---|
static XmlWriter |
XmlWriter.of(Node node)
构建XmlWriter
|
static XmlWriter |
XmlWriter.of(Source source)
构建XmlWriter
|
XmlWriter |
XmlWriter.setCharset(Charset charset)
设置编码
|
XmlWriter |
XmlWriter.setIndent(int indent)
设置缩进
|
XmlWriter |
XmlWriter.setOmitXmlDeclaration(boolean omitXmlDeclaration)
设置是否输出 xml Declaration
|
Copyright © 2025. All rights reserved.