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.6 date: 2013/08/10 11:09:31
user: stefan
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 17 Nov 2019 02:21:21 GMT