Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
60
cde/programs/nsgmls/EntityCatalog.C
Normal file
60
cde/programs/nsgmls/EntityCatalog.C
Normal file
@@ -0,0 +1,60 @@
|
||||
/* $XConsortium: EntityCatalog.C /main/1 1996/07/29 16:50:12 cde-hp $ */
|
||||
// Copyright (c) 1995 James Clark
|
||||
// See the file COPYING for copying permission.
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation
|
||||
#endif
|
||||
#include "splib.h"
|
||||
#include "EntityCatalog.h"
|
||||
#include "EntityDecl.h"
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
namespace SP_NAMESPACE {
|
||||
#endif
|
||||
|
||||
EntityCatalog::~EntityCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Boolean EntityCatalog::sgmlDecl(const CharsetInfo &,
|
||||
Messenger &,
|
||||
StringC &) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Boolean EntityCatalog::lookup(const EntityDecl &decl,
|
||||
const Syntax &,
|
||||
const CharsetInfo &,
|
||||
Messenger &,
|
||||
StringC &str) const
|
||||
{
|
||||
const StringC *p = decl.systemIdPointer();
|
||||
if (!p)
|
||||
return 0;
|
||||
str = *p;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Boolean EntityCatalog::lookupPublic(const StringC &,
|
||||
const CharsetInfo &,
|
||||
Messenger &,
|
||||
StringC &) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Boolean EntityCatalog::defaultDoctype(const CharsetInfo &,
|
||||
Messenger &,
|
||||
StringC &,
|
||||
StringC &) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user