http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Download
Installation
Build

API Docs
Samples
Schema

FAQs
Programming
Migration

Releases
Bug-Reporting
Feedback

Y2K Compliance
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IDOM_DocumentType Class Reference

Each Document has a doctype whose value is either null or a DocumentType object. More...

#include <IDOM_DocumentType.hpp>

Inheritance diagram for IDOM_DocumentType

Inheritance graph
[legend]
Collaboration diagram for IDOM_DocumentType:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~IDOM_DocumentType ()
Getter functions.
virtual const XMLCh* getName ()const=0
 The name of DTD; i.e., the name immediately following the DOCTYPE keyword in an XML source document.

virtual IDOM_NamedNodeMapgetEntities ()const=0
 This function returns a NamedNodeMap containing the general entities, both external and internal, declared in the DTD. More...

virtual IDOM_NamedNodeMapgetNotations ()const=0
 This function returns a named node map containing an entry for each notation declared in a document's DTD. More...

Functions introduced in DOM Level 2.
virtual const XMLCh* getPublicId ()const=0
 Get the public identifier of the external subset. More...

virtual const XMLCh* getSystemId ()const=0
 Get the system identifier of the external subset. More...

virtual const XMLCh* getInternalSubset ()const=0
 Get the internal subset as a string. More...


Protected Methods

 IDOM_DocumentType ()
 IDOM_DocumentType (const IDOM_DocumentType &other)
IDOM_DocumentType& operator= (const IDOM_DocumentType &other)

Detailed Description

Each Document has a doctype whose value is either null or a DocumentType object.

The IDOM_DocumentType class provides access to the list of entities and notations that are defined for the document.

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


Constructor & Destructor Documentation

IDOM_DocumentType::IDOM_DocumentType ( ) [protected]
 

IDOM_DocumentType::IDOM_DocumentType ( const IDOM_DocumentType & other ) [protected]
 

IDOM_DocumentType::~IDOM_DocumentType ( ) [virtual]
 


Member Function Documentation

IDOM_NamedNodeMap * IDOM_DocumentType::getEntities ( ) const [pure virtual]
 

This function returns a NamedNodeMap containing the general entities, both external and internal, declared in the DTD.

Parameter entities are not contained. Duplicates are discarded.

Note: this functionality is not implemented in the initial release of the parser, and the returned NamedNodeMap will be empty.

const XMLCh * IDOM_DocumentType::getInternalSubset ( ) const [pure virtual]
 

Get the internal subset as a string.

Returns:
The internal subset as a string.

const XMLCh * IDOM_DocumentType::getName ( ) const [pure virtual]
 

The name of DTD; i.e., the name immediately following the DOCTYPE keyword in an XML source document.

IDOM_NamedNodeMap * IDOM_DocumentType::getNotations ( ) const [pure virtual]
 

This function returns a named node map containing an entry for each notation declared in a document's DTD.

Duplicates are discarded.

Note: this functionality is not implemented in the initial release of the parser, and the returned NamedNodeMap will be empty.

const XMLCh * IDOM_DocumentType::getPublicId ( ) const [pure virtual]
 

Get the public identifier of the external subset.

Returns:
The public identifier of the external subset.

const XMLCh * IDOM_DocumentType::getSystemId ( ) const [pure virtual]
 

Get the system identifier of the external subset.

Returns:
The system identifier of the external subset.

IDOM_DocumentType & IDOM_DocumentType::operator= ( const IDOM_DocumentType & other ) [protected]
 


The documentation for this class was generated from the following file:


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.