![]() | InDesign SDK 20.5 |
#include <IXCatHndEntityMapping.h>

Public Types | |
| enum | { kDefaultIID = IID_IXCATHNDENTITYMAPPING } |
Public Member Functions | |
| virtual void | AddMapping (const WideString &publicID, const WideString &systemID)=0 |
| virtual WideString | GetUri (const WideString &publicID) const =0 |
| virtual int32 | GetMapSize () const =0 |
| virtual WideString | GetNthPublicIdentifier (int32 index) const =0 |
| virtual void | Copy (const IXCatHndEntityMapping *srcMapping)=0 |
| virtual int32 | GetXMLBaseCount () const =0 |
| virtual WideString | GetNthXMLBase (int32 n) const =0 |
| virtual void | AddXMLBase (const WideString &xmlBase)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Stores information needed to map PUBLIC identifiers to URIs.
Stores entity mapping and related information (list of xml:base values) persistently.
We store not only individual PUBLIC to URI mappings, but we store a list of xml:base values. We use xml:base value to specify a path in the local file system where resources related to a particular document type can be found. We can store multiple of these, since we might have resources for different XML vocabularies in different places.
XML Base is a W3C TR: see http://www.w3.org/TR/xmlbase/ that is used in the XML Catalogs: see http://www.oasis-open.org/committees/entity/spec-2001-08-06.html
We're using xml:base here as paths in local file system in platform format, and not worrying too much about having conforming URLs (file:/// etc)
| pure virtual |
Add an associative mapping between PUBLIC ID and a SYSTEM ID
| publicID | |
| systemID |
Implemented in XCatHndEntityMapping.
| pure virtual |
Add another xml:base to the list stored
Implemented in XCatHndEntityMapping.
| pure virtual |
| pure virtual |
| pure virtual |
Get PUBLIC identifier (key) by index
| index |
Implemented in XCatHndEntityMapping.
| pure virtual |
Get the nth xml:base we found in our catalog
Implemented in XCatHndEntityMapping.
| pure virtual |
Retrieve a URI pointing to local system for given PUBLIC identifier
| publicID |
Implemented in XCatHndEntityMapping.
| pure virtual |
Get size of the list of xml:base paths stored
Implemented in XCatHndEntityMapping.