All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

XMLParser Interface CATIDOMDocumentType

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---XMLParser.CATIDOMNode
        |
        +---CATIDOMDocumentType
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDOMDocumentType

Interface providing access to the list of entities and notations that are defined in the document.
Each CATIDOMDocument has a doctype whose value is either NULL_var or a CATIDOMDocumentType object.

The DOM Level 1 doesn't support editing CATIDOMDocumentType nodes.

See also:
CATIDOMDocument, CATIDOMNode


Method Index


o GetEntities(CATIDOMNamedNodeMap_var&)
Retrieves a CATIDOMNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
o GetInternalSubset(CATUnicodeString&)
Get the internal subset as a string.
o GetName(CATUnicodeString&)
Retrieves the name of DTD.
o GetNotations(CATIDOMNamedNodeMap_var&)
Retrieves a CATIDOMNamedNodeMap containing an entry for each notation declared in a document's DTD.
o GetPublicId(CATUnicodeString&)
Retrieves the public identifier of the external subset.
o GetSystemId(CATUnicodeString&)
Get the system identifier of the external subset.

Methods


o GetEntities
public virtual HRESULT GetEntities(CATIDOMNamedNodeMap_var& oEntities) = 0
Retrieves a CATIDOMNamedNodeMap containing the general entities, both external and internal, declared in the DTD. Duplicate entities are discarded.
Parameters:
oEntities
The retrieved
CATIDOMNamedNodeMap containing the general entities declared in the DTD.
See also:
CATIDOMNamedNodeMap
o GetInternalSubset
public virtual HRESULT GetInternalSubset(CATUnicodeString& oInternalSubset) = 0
Get the internal subset as a string.
Parameters:
oInternalSubset
The internal subset as a string.
o GetName
public virtual HRESULT GetName(CATUnicodeString& oName) = 0
Retrieves the name of DTD. This name is immediately following the DOCTYPE keyword in an XML source document.
Parameters:
oName
The retrieved name of DTD.
o GetNotations
public virtual HRESULT GetNotations(CATIDOMNamedNodeMap_var& oNotations) = 0
Retrieves a CATIDOMNamedNodeMap containing an entry for each notation declared in a document's DTD. Duplicate notations are discarded.
Parameters:
oNotations
The retrieved
CATIDOMNamedNodeMap containing an entry for each notation declared in a document's DTD.
See also:
CATIDOMNamedNodeMap
o GetPublicId
public virtual HRESULT GetPublicId(CATUnicodeString& oPublicId) = 0
Retrieves the public identifier of the external subset.
Parameters:
oPublicId
The public identifier of the external subset.
o GetSystemId
public virtual HRESULT GetSystemId(CATUnicodeString& oSystemId) = 0
Get the system identifier of the external subset.
Parameters:
oSystemId
The system identifier of the external subset.

This object is included in the file: CATIDOMDocumentType.h
If needed, your Imakefile.mk should include the module: CATXMLParserItf

Copyright © 2003, Dassault Systèmes. All rights reserved.