eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::SAXLocator':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: SAXLocator (in XML)


Inheritance:

   Object
   |
   +--XML::SAXLocator

Package:
stx:goodies/xml/vw
Category:
XML-VW-SAX
Version:
rev: 1.7 date: 2021/01/20 14:52:29
user: cg
file: SAXLocator.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


Author: Roger Whitney whitney@cs.sdsu.edu
Version: 1.0  
Date: 4/2/2000
License: Camp Smalltalk 

OXSAXLocator is used in VWXMLSAXDriver and its subclasses to determine the parser's position in an XML doucument.

Instance Variables:
	lineNumbers     <SequenceableCollection>        Index of the start of a new line in an Smalltalk string.
	sourceStream    <EndodedStream>  Stream on the input source


Class protocol:

instance creation
o  on: aStream


Instance protocol:

accessing
o  columnNumber
Return the column number of current position of the inputStream.
This should be the column number of the where the current document event ends

o  lineNumber
Return the row number of current position of the inputStream.
This should be the row number of the where the current document event ends

initialization
o  computeLineNumbers

o  initializeOnStream: aStream



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:45:14 GMT