Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%XML] >  [Catalog]
Private  Storage   

persistent class %XML.Catalog extends %Persistent, %XML.Adaptor

SQL Table Name: XCatalog

This class represents an XML catalog. It defines a database of associations between PUBLIC document identifiers and the URLs for their DTD and/or schema files. This class is used by the XML.CatalogResolver class when it resolves DTD and Schema references.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 7 1


Summary

Properties
Keyword PublicId URL

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject DisplayCatalog
FindURL IsEmpty Load LoadDefault
Reset ResolvePublic XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


Properties

• property Keyword as %String(MAXLEN=20) [ Required ];
The Keyword for a Catalog entry. Currently only PUBLIC is supported
• property PublicId as %String(MAXLEN=200) [ Required ];
The Public Identifier string for a Catalog entry.
• property URL as %String(MAXLEN=200) [ Required ];
The URL string for a Catalog entry.

Methods

• classmethod DisplayCatalog()
Display the contents of the XML Catalog to the console.
• classmethod FindURL(publicId As %String) as %String
Find the URL for a given Public Identifier.
• classmethod IsEmpty() as %Boolean
Test if the Catalog is empty
• classmethod Load(filename As %String) as %Status
Load a Catalog File
• classmethod LoadDefault() as %Status
Reset and load the default catalog.
• classmethod Reset()
Clear the contents of the catalog.
• classmethod ResolvePublic(publicId As %String) as %AbstractStream
Return an open Stream object that contains the DTD for a given Public Identifier.
The caller is responsible for closing the stream.

Indices

•index (PubIdIDX on PublicId) [Unique];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.