Quadcap Embeddable Server

com.quadcap.text.sax.Locator Class Reference

Inheritance diagram for com.quadcap.text.sax.Locator:

List of all members.

Detailed Description

Locator implementation.

Author:
Stan Bailes

Definition at line 46 of file Locator.java.

Public Member Functions

 Locator (Parser parser)
String getPublicId ()
 Return the public identifier for the current document event.

String getSystemId ()
 Return the system identifier for the current document event.

int getLineNumber ()
 Return the line number where the current document event ends.

int getColumnNumber ()
 Return the column number where the current document event ends.


Package Attributes

Parser parser


Constructor & Destructor Documentation

com.quadcap.text.sax.Locator.Locator Parser  parser  ) 
 

Definition at line 49 of file Locator.java.


Member Function Documentation

int com.quadcap.text.sax.Locator.getColumnNumber  )  [virtual]
 

Return the column number where the current document event ends.

Note that this is the column number of the first character after the text associated with the document event. The first column in a line is position 1.

Returns:
The column number, or -1 if none is available.
See also:
getLineNumber

Definition at line 100 of file Locator.java.

References com.quadcap.text.sax.Parser.getColumnNumber(), and com.quadcap.text.sax.Locator.parser.

Referenced by com.quadcap.text.sax.Test.setDocumentLocator().

int com.quadcap.text.sax.Locator.getLineNumber  )  [virtual]
 

Return the line number where the current document event ends.

Note that this is the line position of the first character after the text associated with the document event.

Returns:
The line number, or -1 if none is available.
See also:
getColumnNumber

Definition at line 87 of file Locator.java.

References com.quadcap.text.sax.Parser.getLineNumber(), and com.quadcap.text.sax.Locator.parser.

Referenced by com.quadcap.text.sax.Test.setDocumentLocator().

String com.quadcap.text.sax.Locator.getPublicId  )  [virtual]
 

Return the public identifier for the current document event.

This will be the public identifier

Returns:
A string containing the public identifier, or null if none is available.
See also:
getSystemId

Definition at line 60 of file Locator.java.

References org.xml.sax.InputSource.getPublicId(), com.quadcap.text.sax.Parser.in, and com.quadcap.text.sax.Locator.parser.

Referenced by com.quadcap.text.sax.Test.setDocumentLocator().

String com.quadcap.text.sax.Locator.getSystemId  )  [virtual]
 

Return the system identifier for the current document event.

If the system identifier is a URL, the parser must resolve it fully before passing it to the application.

Returns:
A string containing the system identifier, or null if none is available.
See also:
getPublicId

Definition at line 75 of file Locator.java.

References org.xml.sax.InputSource.getSystemId(), com.quadcap.text.sax.Parser.in, and com.quadcap.text.sax.Locator.parser.

Referenced by com.quadcap.text.sax.Test.setDocumentLocator().


Member Data Documentation

Parser com.quadcap.text.sax.Locator.parser [package]
 

Definition at line 47 of file Locator.java.

Referenced by com.quadcap.text.sax.Locator.getColumnNumber(), com.quadcap.text.sax.Locator.getLineNumber(), com.quadcap.text.sax.Locator.getPublicId(), and com.quadcap.text.sax.Locator.getSystemId().