Applied XML Solutions

   

Locator

The SAX parser uses an instance of Locator to provide location information (line and column). The four methods are as follows :

  • int getColumnNumber() ”The column where the current event ends

  • int getLineNumber() ”The line where the current event ends

  • String getPublicId() ”The public identifier for the current event

  • String getSystemId() ”The system identifier for the current event

   

Категории