summaryrefslogtreecommitdiff
path: root/ACEXML/common/LocatorImpl.i
blob: 13871d0707df2c517f0d262b6b1f4f8bccfc6d36 (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
// -*- C++ -*-  $Id$

#include "ace/ACE.h"

ACEXML_INLINE void
ACEXML_LocatorImpl::setColumnNumber (int cn)
{
  this->columnNumber_ = cn;
}

ACEXML_INLINE void
ACEXML_LocatorImpl::setLineNumber (int ln)
{
  this->lineNumber_ = ln;
}

ACEXML_INLINE void
ACEXML_LocatorImpl::setPublicId (const ACEXML_Char *id)
{
  delete this->publicId_;
  this->publicId_ = ACE::strnew (id);
}

ACEXML_INLINE void
ACEXML_LocatorImpl::setSystemId (const ACEXML_Char *id)
{
  delete this->systemId_;
  this->systemId_ = ACE::strnew (id);
}