Package com.epam.xml
Interface XMLEngine<T>
- All Known Implementing Classes:
XMLEngineImpl
public interface XMLEngine<T>
XMLEngine this is a tool for the serializes XML to Java objects, and in
backward.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method does not implemented for current time.unmarshal
(Class<?> source, DocumentReader reader, boolean replaceData) Converts the XML documents into java objects.unmarshal
(Class<?> source, InputStream inputStream, boolean replaceData) Converts the XML documents into java objects.unmarshal
(T source, DocumentReader reader, boolean replaceData) Converts the XML documents into java objects.
-
Method Details
-
marshal
This method does not implemented for current time.- Parameters:
source
- Instance of Object for marshal to XML.xmlWriter
- Instance of XMLWriter for write XML.
-
unmarshal
Converts the XML documents into java objects.- Parameters:
source
- Instance of java object for serialize xml into this object.inputStream
- Stream of XML document.replaceData
-- Returns:
- Instance of Java object.
-
unmarshal
Converts the XML documents into java objects.- Parameters:
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.replaceData
-- Returns:
- Instance of Java object.
-
unmarshal
Converts the XML documents into java objects.- Parameters:
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.replaceData
-- Returns:
- Instance of Java object.
-