Presentation is loading. Please wait.

Presentation is loading. Please wait.

XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed.

Similar presentations


Presentation on theme: "XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed."— Presentation transcript:

1 XML and Object Serialization

2 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

3 Parsing / Searching XML Documents StAX Parser – XMLStreamReader XMLStreamReader – Example Example DOM Parser – Document Object Model (DOM) Document Object Model (DOM) – Example Example Searching DOM with XPath – Example Example

4 Creating XML Documents StAX – Example Example DOM – Example Example

5 Object Serialization Java binary serialization – Example Example XML – XStream Example XStream Example JSON – XStream Example XStream Example


Download ppt "XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed."

Similar presentations


Ads by Google