The invention relates to / belongs to the technical field of
data processing, and particularly relates to a method, a
system and equipment for converting an
XML document into an object and a storage medium. The method aims at solving the problems that in the prior art,
Java classes generated by JAXB are not optimized or cannot meet the requirements of developers; and
processing of large or complex
XML documents is too complex. Comprising the steps that an XSD file of an
XML document is obtained and analyzed, and XSD
analysis data is obtained; configuring corresponding rule data by using a rule configurator; the XSD
analysis data and the rule data are added into a template engine, code filling is carried out, and a
JAVA class is generated; configuring a JAXB context instance; the method comprises the following steps of: creating a Unmarshaller instance by utilizing a Unmarshaller interface of JAXB, and carrying out deserialization operation on an XML (
Extensible Markup Language) document on the basis of the Unmarshaller instance, so as to obtain a
Java object.