Mercurial > illumos > onarm
view usr/src/cmd/man/src/util/nsgmls.src/include/EntityManager.h @ 4:1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
author | Koji Uno <koji.uno@sun.com> |
---|---|
date | Mon, 31 Aug 2009 14:38:03 +0900 |
parents | c9caec207d52 |
children |
line wrap: on
line source
// Copyright (c) 1995 James Clark // See the file COPYING for copying permission. #pragma ident "%Z%%M% %I% %E% SMI" #ifndef EntityManager_INCLUDED #define EntityManager_INCLUDED 1 #ifdef __GNUG__ #pragma interface #endif #include "types.h" #include "StringC.h" #include "Resource.h" #include "EntityCatalog.h" #include "Ptr.h" #include "Boolean.h" #ifdef SP_NAMESPACE namespace SP_NAMESPACE { #endif class Messenger; class InputSourceOrigin; class CharsetInfo; class InputSource; class SP_API EntityManager : public Resource { public: enum { mayRewind = 01, maySetDocCharset = 02 }; virtual ~EntityManager(); virtual Boolean internalCharsetIsDocCharset() const = 0; virtual const CharsetInfo &charset() const = 0; virtual InputSource *open(const StringC &sysid, const CharsetInfo &docCharset, InputSourceOrigin *, unsigned flags, Messenger &) = 0; // Make a catalog for a document or subdocument with specified // system identifier. // The catalog can cause the system identifier to be replaced. virtual ConstPtr<EntityCatalog> makeCatalog(StringC &systemId, const CharsetInfo &, Messenger &) = 0; }; #ifdef SP_NAMESPACE } #endif #endif /* not EntityManager_INCLUDED */