Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlXmlPII Class Referenceabstract

Interface for XML processing instruction entities. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlPII:
IlXmlNodeI IlXmlPI

Public Member Functions

virtual const char * getData () const =0
 Retrieves the data. More...
 
virtual const char * getTarget () const =0
 Retrieves the target. More...
 
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...
 
virtual void storeData (char *data)=0
 Sets the data. More...
 
virtual void storeTarget (char *target)=0
 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

Interface for XML processing instruction entities.

Library: ilog

This class is an interface that describes an XML Processing Instruction node.

Member Function Documentation

§ getData()

virtual const char* IlXmlPII::getData ( ) const
pure virtual

Retrieves the data.

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

Implemented in IlXmlPI.

§ getTarget()

virtual const char* IlXmlPII::getTarget ( ) const
pure virtual

Retrieves the target.

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

Implemented in IlXmlPI.

§ getType()

virtual Type IlXmlPII::getType ( ) const
virtual

Retrieves the type of this element.

Returns
The type of this element.

Implements IlXmlNodeI.

§ setData()

virtual void IlXmlPII::setData ( const char *  data)
virtual

Sets the data.

Parameters
dataThe new data of this PI. The default implementation calls storeData() with a copy of the string data.

§ setTarget()

virtual void IlXmlPII::setTarget ( const char *  target)
virtual

Sets the target.

Parameters
targetThe new target of this PI. The default implementation calls storeTarget() with a copy of the string target.

§ storeData()

virtual void IlXmlPII::storeData ( char *  data)
pure virtual

Sets the data.

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

Implemented in IlXmlPI.

§ storeTarget()

virtual void IlXmlPII::storeTarget ( char *  target)
pure virtual

Sets the target.

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

Implemented in IlXmlPI.


© 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.