Smalltalk/X WebserverDocumentation of class 'XML::SAXBuilder': | |
Class: SAXBuilder (in XML)Inheritance:Object | +--XML::XMLNodeBuilder | +--XML::NodeBuilder | +--XML::SAXBuilder
Description:Author: Roger Whitney whitney@cs.sdsu.edu Version: 1.0 Date: 4/2/2000 ORSAXBuilder is a bridge between an VWXMLXMLParser and an VWXMLSAXDriver. It intercepts calls from the parser and sends the proper message to the SAXDriver. Implementation notes: The XML parser uses the builder in building a tree structure for a document. The final tree structure is not used by ORSAXBuilder because the final tree does not contain the processing instructions. So the ORSAXBuilder intercepts build calls to infer the document structure. It must cache attribute calls and the current tag as the Parser provides the separately, while the SAXDrvier wants the tag will all the attributes in one call. The hard part of ths class is determing when we have all the attributes for the current tag. Instance Variables: attributes <Collection> builds up list of attribures for the current tag pendingTag <VWXMLNodeTag> The current we are collecting the attributes for. nil value indicates that we are between tags. saxDriver <VWXMLSAXDriver> Class protocol:instance creationInstance protocol:accessing
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:26:11 GMT |