1 / 5
XML and Object Serialization
60 likes | 157 Views
Explore the structure of an XML document, parsing methods, DOM parsing with XPath, creating XML documents, Java binary serialization, XML to JSON conversion, and examples using StAX, DOM, and XStream.
Download Presentation
XML and Object Serialization
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.
Content is provided to you AS IS for your information and personal use only.
Download presentation by click this link.
While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
During download, if you can't get a presentation, the file might be deleted by the publisher.
E N D
Presentation Transcript
Structure of an XML Document • Header • Root Element • Start Tags / End Tags • Element Contents • Child Elements • Text • Both (mixed contents) • Element Attributes • Comments • Entity References
Parsing / Searching XML Documents • StAX Parser • XMLStreamReader • Example • DOM Parser • Document Object Model (DOM) • Example • Searching DOM with XPath • Example
Creating XML Documents • StAX • Example • DOM • Example
Object Serialization • Java binary serialization • Example • XML • XStreamExample • JSON • XStreamExample
More Related