summaryrefslogtreecommitdiff
path: root/ACEXML/common/Locator.h
blob: 31e55c4563ea6a5a3ffc43a25aa75d7391718bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// -*- C++ -*- $Id$

#ifndef _ACEXML_LOCATOR_H_
#define _ACEXML_LOCATOR_H_

#include "Common/XML_Types.h"

class ACEXML_Export ACEXML_Locator
{
public:
  /*
   * Return the column number where the current document event ends.
   */
  virtual int getColumnNumber (void) const = 0;

  /*
   * Return the line number where the current document event ends.
   */
  virtual int getLineNumber (void) const = 0;

  /*
   * Return the public identifier for the current document event.
   */
  virtual const ACEXML_Char *getPublicId (void) const = 0;

  /*
   * Return the system identifier for the current document event.
   */
  virtual const ACEXML_Char *getSystemId (void) const = 0;
};

#endif /* _ACEXML_LOCATOR_H_ */