XMLParserItf Interface CATIDOMProcessingInstruction

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDOMProcessingInstruction

Interface to represent a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.

See also the Document Object Model (DOM) Level 2 Core Specification.


Method Index


o GetData(CATUnicodeString&)
Retrieves the content of this processing instruction.
o GetTarget(CATUnicodeString&)
Retrieves the target of this processing instruction.
o SetData(CATUnicodeString&)
Sets the content of this processing instruction.

Methods


o GetData
public virtual GetData( oData)
Retrieves the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.
Parameters:
oData
the content of this processing instruction
o GetTarget
public virtual GetTarget( oTarget)
Retrieves the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.
Parameters:
oTarget
the target of this processing instruction
o SetData
public virtual SetData( const iData)
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 ?>.
Parameters:
iData
the content of this processing instruction
Errors Returned:
Error Class Error Id Description
XMLParserERR_2207 NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

This object is included in the file: CATIDOMProcessingInstruction.h
If needed, your Imakefile.mk should include the module: CatXmlItfExt

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.