Package io.minio
Class Xml
java.lang.Object
io.minio.Xml
XML marshaller and unmarshaller.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThis marshal method will traverse the provided object checking for field annotations in order to compose the XML data.static <T> TThis unmarshal method will read the contents of the XML document from the provided source and populate the object with the values deserialized.static <T> TThis unmarshal method will read the contents of the XML document from the provided source and populate the object with the values deserialized.static booleanThis validate method will validate the contents of the XML document against the specified XML class schema.
-
Constructor Details
-
Xml
public Xml()
-
-
Method Details
-
marshal
This marshal method will traverse the provided object checking for field annotations in order to compose the XML data.- Throws:
XmlParserException
-
unmarshal
This unmarshal method will read the contents of the XML document from the provided source and populate the object with the values deserialized.- Throws:
XmlParserException
-
unmarshal
This unmarshal method will read the contents of the XML document from the provided source and populate the object with the values deserialized.- Throws:
XmlParserException
-
validate
This validate method will validate the contents of the XML document against the specified XML class schema.- Throws:
XmlParserException
-