Java: XML Integration

Go to class
Write Review

Free Online Course: Java: XML Integration provided by LinkedIn Learning is a comprehensive online course, which lasts for 4-5 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Java: XML Integration is taught by David Gassner.

Overview
  • Learn how to create and parse XML with a variety of Java APIs and libraries, including DOM, SAX, JAXB, and more.

Syllabus
  • Introduction

    • Welcome
    • What you should know
    • Using the exercise files
    1. Getting Started
    • Reviewing XML terminology
    • Choosing an XML processing API
    • Exploring the sample data provider project
    • Reading XML as a string
    2. Parsing XML with SAX (Simple API for XML)
    • How SAX works
    • Creating a SAX event handler class
    • Tracking XML elements in SAX handlers
    • Capturing text values in SAX handlers
    • Handling namespace strings and prefixes with SAX
    • Handling parsing errors in SAX
    3. Creating and Parsing XML with Document Object Model
    • How DOM works
    • Creating a DOM document
    • Adding child elements with DOM
    • Adding data elements and attributes with DOM
    • Wrapping text in CDATA sections with DOM
    • Serializing a DOM document to a string
    • Serializing a DOM document to a file
    • Reading an XML file with DocumentBuilder
    • Getting data from XML with DOM
    • Handling XML namespaces and prefixes with DOM
    • Searching a DOM object tree with XPath
    4. Creating and Parsing XML with JDOM
    • How JDOM works
    • Creating an XML document with JDOM
    • Adding data to an XML document with JDOM
    • Wrapping text in CDATA sections with JDOM
    • Outputting an XML file with JDOM
    • Parsing an XML file with JDOM
    • Getting data from XML with JDOM
    • Searching a JDOM document with XPath
    5. Creating and Parsing XML with StAX
    • How StAX works
    • Exporting data with XMLStreamWriter
    • Creating an XML string with XMLStreamWriter
    • Formatting documents with StAX utility classes
    • Outputting an XML file with XMLStreamWriter
    • Parsing an XML file with XMLStreamReader
    • Getting data from XML with XMLStreamReader
    • Parsing an XML file with XMLEventReader
    • Parsing XML in Android with XmlPullParser
    6. Creating and Parsing XML with JAXB
    • Comparing XML binding with other programming models
    • Annotating POJO classes for use with JAXB
    • Creating XML from annotated classes with JAXB
    • Parsing XML with JAXB and annotated classes
    7. Creating and Parsing with Simple XML Serialization
    • Comparing Simple to JAXB
    • Annotating POJO classes for use with Simple
    • Creating XML from annotated classes with Simple
    • Parsing XML with Simple and annotated classes
    Conclusion
    • Next steps