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_Entity Class Reference

This interface represents an entity, either parsed or unparsed, in an XML document. More...

#include <IDOM_Entity.hpp>

Inheritance diagram for IDOM_Entity

Inheritance graph
[legend]
Collaboration diagram for IDOM_Entity:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~IDOM_Entity ()
Get functions.
virtual const XMLCh* getPublicId ()const=0
 The public identifier associated with the entity, if specified. More...

virtual const XMLCh* getSystemId ()const=0
 The system identifier associated with the entity, if specified. More...

virtual const XMLCh* getNotationName ()const=0
 For unparsed entities, the name of the notation for the entity. More...


Protected Methods

 IDOM_Entity ()
 IDOM_Entity (const IDOM_Entity &other)
IDOM_Entity& operator= (const IDOM_Entity &other)

Detailed Description

This interface represents an entity, either parsed or unparsed, in an XML document.

Note that this models the entity itself not the entity declaration. Entity declaration modeling has been left for a later Level of the DOM specification.

The nodeName attribute that is inherited from Node contains the name of the entity.

An XML processor may choose to completely expand entities before the structure model is passed to the DOM; in this case there will be no EntityReference nodes in the document tree.

Note: the first release of this parser does not create entity nodes when reading an XML document. Entities may be programatically created using DOM_Document::createEntity().


Constructor & Destructor Documentation

IDOM_Entity::IDOM_Entity ( ) [protected]
 

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

IDOM_Entity::~IDOM_Entity ( ) [virtual]
 


Member Function Documentation

const XMLCh * IDOM_Entity::getNotationName ( ) const [pure virtual]
 

For unparsed entities, the name of the notation for the entity.

For parsed entities, this is null.

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

The public identifier associated with the entity, if specified.

If the public identifier was not specified, this is null.

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

The system identifier associated with the entity, if specified.

If the system identifier was not specified, this is null.

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


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


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