Package com.softwareag.tamino.db.api.objectModel.sax

Provides classes and interfaces to work with a SAX object model.

See: Description

Package com.softwareag.tamino.db.api.objectModel.sax Description

Provides classes and interfaces to work with a SAX object model.

This package provides the SAX object model class. The class is used to set the SAX object model for Tamino accessors. An accessor created for the SAX object model treats XML documents as a series of SAX events both for storing to and retrieving from Tamino.

Other than the fixed object models like DOM and JDOM, a SAX object model is specific to a particular application. The DOM object model delivers XML documents as DOM documents. For a SAX object model it is up to the implementor to determine how an XML document is delivered. There may therefore be many SAX object models, all based on a SAX parser and SAX events, but each processing the events in a different way. Creating a SAX model therefore requires the implementation of a number of helper classes to determine the exact behaviour of the model. There are two sets of two helper classes that you may need to implement. Each one of the sets is optional, but at least one of the two should be implemented, otherwise the SAX model is fairly useless, as all SAX events will be ignored. One helper class is an event handler for SAX events. The other a class that represent an XML node either as a document or element.

Copyright (c) 2017 Software AG. All Rights Reserved.