The XType framework provides a standardized mechanism for reading Java objects from a XML representation. There are four components that build the framework:
The follwoing sequence diagram visualizes the connection between the four components of XType:
USER XType XTypeUtil XObjectConfig XObject
---- ----- --------- ------------- -------
| | | | |
| getObjectFromXML(Element, String type, String itemTagText) | |
|---------------------->| | | |
| | | | |
| | getInstance() | | |
| |----------------->| | |
| |<-----------------| | |
| | | | |
| | getObjectConfig(String type) | |
| |----------------->| | |
| |<-----------------| | |
| | | | |
| | getClassType() | |
| |---------------------------------------->| |
| |<----------------------------------------| |
| | | | |
| | getObject(Element, String itemTagText) |
| |-------------------------------------------------------------->|
| |<--------------------------------------------------------------|
| | | | |
|<----------------------| | | |
| | | | |