public class FromXml extends Logged
| Constructor and Description |
|---|
FromXml() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromXml(Element rootEl,
Class cl) |
Object |
fromXml(InputStream is,
Class cl) |
Document |
parseXml(InputStream is) |
public Object fromXml(InputStream is, Class cl) throws SAXException
is - input streamcl - class of object we want to restoreSAXExceptionpublic Object fromXml(Element rootEl, Class cl) throws SAXException
SAXExceptionpublic Document parseXml(InputStream is) throws Throwable
ThrowableCopyright © 2016 Bedework. All rights reserved.