Skip to main content

%XML.SAX.Utils.Replayer

class %XML.SAX.Utils.Replayer extends %Library.RegisteredObject

This classes exposes a single class method which can replay a recording of an XML Parse Use the %XML.SAX.Recorder content handler to record the sequence of calls and their parameters made by the SAX parser. You can then substitute your own content handler witht the Replay method below to simulate a parse by the SAX parser. This greatly aids in debugging as the debugger cannot be activated during a regular CacheSAX callback.

Method Inventory

Methods

classmethod Replay(Target As %Integer, Handler As %XML.SAX.ContentHandler)
Target is the key in CacheTemp into which %XML.SAX.Recorder has placed its data Handler is your %XML.SAX.ContentHandler subclass

Inherited Members

Inherited Methods

FeedbackOpens in a new tab