Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlXmlPI Class Reference

Default implementation of XML processing instructions. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlPI:
IlXmlPII IlXmlNodeI

Public Member Functions

virtual const char * getData () const
 Retrieves the data. More...
 
virtual const char * getTarget () const
 Retrieves the target. More...
 
virtual void storeData (char *)
 Sets the data. More...
 
virtual void storeTarget (char *)
 Sets the target. More...
 
- Public Member Functions inherited from IlXmlPII
virtual Type getType () const
 Retrieves the type of this element. More...
 
virtual void setData (const char *data)
 Sets the data. More...
 
virtual void setTarget (const char *target)
 Sets the target. More...
 
- Public Member Functions inherited from IlXmlNodeI
virtual std::ostream & write (std::ostream &stream) const =0
 Writes the XML code for this node. More...
 

Additional Inherited Members

- Public Types inherited from IlXmlNodeI
enum  Type {
  Attribute, Element, Text, Comment,
  CData, PI, CharRef, EntityRef
}
 The different types of XML nodes. More...
 

Detailed Description

Default implementation of XML processing instructions.

Library: ilog

This class implements the interface IlXmlPII to provide the basic functionality of an XML PI node.

Member Function Documentation

§ getData()

virtual const char* IlXmlPI::getData ( ) const
virtual

Retrieves the data.

Returns
The data. The user must not modify or delete the returned string.

Implements IlXmlPII.

§ getTarget()

virtual const char* IlXmlPI::getTarget ( ) const
virtual

Retrieves the target.

Returns
The target. The user must not modify or delete the returned string.

Implements IlXmlPII.

§ storeData()

virtual void IlXmlPI::storeData ( char *  data)
virtual

Sets the data.

Parameters
dataThe new data of this PI. This string is not copied before it is stored.

Implements IlXmlPII.

§ storeTarget()

virtual void IlXmlPI::storeTarget ( char *  target)
virtual

Sets the target.

Parameters
targetThe new target of this PI. This string is not copied before it is stored.

Implements IlXmlPII.


© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.