public class DomUtil extends Object
Constructor and Description |
---|
DomUtil() |
Modifier and Type | Method and Description |
---|---|
static Element |
getDom(InputStream is)
Returns parsed dom tree or null if any error
|
static void |
saveDom(OutputStream os,
DocumentFragment doc) |
static void |
saveDom(OutputStream os,
Element e)
save dom into ouputstream
|
public static Element getDom(InputStream is)
is
- InputStream
.public static void saveDom(OutputStream os, Element e)
os
- e
- public static void saveDom(OutputStream os, DocumentFragment doc)
Copyright © 2021 The Apache Software Foundation