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

The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document. More...

#include <IDOM_ProcessingInstruction.hpp>

Inheritance diagram for IDOM_ProcessingInstruction

Inheritance graph
[legend]
Collaboration diagram for IDOM_ProcessingInstruction:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~IDOM_ProcessingInstruction ()
Get functions.
virtual const XMLCh* getTarget ()const=0
 The target of this processing instruction. More...

virtual const XMLCh* getData ()const=0
 The content of this processing instruction. More...

Set functions.
virtual void setData (const XMLCh *data)=0
 Sets the content of this processing instruction. More...


Protected Methods

 IDOM_ProcessingInstruction ()
 IDOM_ProcessingInstruction (const IDOM_ProcessingInstruction &other)
IDOM_ProcessingInstruction& operator= (const IDOM_ProcessingInstruction &other)

Detailed Description

The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.


Constructor & Destructor Documentation

IDOM_ProcessingInstruction::IDOM_ProcessingInstruction ( ) [protected]
 

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

IDOM_ProcessingInstruction::~IDOM_ProcessingInstruction ( ) [virtual]
 


Member Function Documentation

const XMLCh * IDOM_ProcessingInstruction::getData ( ) const [pure virtual]
 

The content of this processing instruction.

This is from the first non white space character after the target to the character immediately preceding the ?&gt;.

Exceptions:
DOMException   NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

const XMLCh * IDOM_ProcessingInstruction::getTarget ( ) const [pure virtual]
 

The target of this processing instruction.

XML defines this as being the first token following the markup that begins the processing instruction.

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

void IDOM_ProcessingInstruction::setData ( const XMLCh * data ) [pure virtual]
 

Sets the content of this processing instruction.

This is from the first non white space character after the target to the character immediately preceding the ?&gt;.

Parameters:
data   The string containing the processing instruction


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


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