public interface XMLEngine<T>
Modifier and Type | Method and Description |
---|---|
void |
marshal(Class<?> source,
XMLWriter xmlWriter)
This method does not implemented for current time.
|
T |
unmarshal(Class<?> source,
DocumentReader reader,
boolean replaceData)
Converts the XML documents into java objects.
|
T |
unmarshal(Class<?> source,
InputStream inputStream,
boolean replaceData)
Converts the XML documents into java objects.
|
T |
unmarshal(T source,
DocumentReader reader,
boolean replaceData)
Converts the XML documents into java objects.
|
void marshal(Class<?> source, XMLWriter xmlWriter)
source
- Instance of Object for marshal to XML.xmlWriter
- Instance of XMLWriter for write XML.T unmarshal(Class<?> source, InputStream inputStream, boolean replaceData)
source
- Instance of java object for serialize xml into this object.inputStream
- Stream of XML document.replaceData
- T unmarshal(Class<?> source, DocumentReader reader, boolean replaceData)
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.replaceData
- T unmarshal(T source, DocumentReader reader, boolean replaceData)
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.replaceData
- Copyright © 2000–2022 EPAM Systems. All rights reserved.