0

如何从 Java 到 XML Smook 解析器的 XML 输出中删除包名称?

示例代码:

Smooks smooks = new Smooks();
ExecutionContext executionContext = smooks.createExecutionContext();
StringWriter writer = new StringWriter();
smooks.filterSource(executionContext,
    new JavaSource(inputJavaObject),
    new StreamResult(writer));
System.out.println(writer.toString());
4

0 回答 0