JAX: Java APIs for XML Kick Start by Aoyon Chowdhury

After updating the XML file, update the application code to handle the attributes. There is no separate callback method per se f startElement() method is invoked, the list of attributes for the element is passed to the method as an Attributes object.

This interface declares the methods that an application should implement to handle the content event callbacks, such as the starting of an element, that are generated by the SAX parser. This interface is described in detail later in the chapter. This interface declares the methods that inform the application about notations and unparsed entities. This interface is described in detail later in the chapter. This interface declares a method that enables the application to process the external entities.

Download PDF sample

Rated 4.12 of 5 – based on 44 votes