|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.xml.XMLEngineImpl<T>
public class XMLEngineImpl<T>
The XML engine, provides the main functionality to construct
and load the FIX dictionary and FAST template.
Constructor Summary | |
---|---|
XMLEngineImpl(XMLUnmarshaler<T> unmapshaler)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLEngineImpl(XMLUnmarshaler<T> unmapshaler)
Method Detail |
---|
public void marshal(Class<?> source, XMLWriter xmlWriter)
XMLEngine
marshal
in interface XMLEngine<T>
source
- Instance of Object for marshal to XML.xmlWriter
- Instance of XMLWriter for write XML.public T unmarshal(Class<?> source, InputStream inputStream, boolean replaceData)
XMLEngine
unmarshal
in interface XMLEngine<T>
source
- Instance of java object for serialize xml into this object.inputStream
- Stream of XML document.
public T unmarshal(Class<?> source, DocumentReader reader, boolean replaceData)
XMLEngine
unmarshal
in interface XMLEngine<T>
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.
public T unmarshal(T source, DocumentReader reader, boolean replaceData)
XMLEngine
unmarshal
in interface XMLEngine<T>
source
- Instance of java object for serialize xml into this object.reader
- Instance of Document reader.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |