Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBDOM_CHARACTERDATA – PB Docs 126 – PowerBuilder Library

PBDOM_CHARACTERDATA – PB Docs 126

PBDOM_CHARACTERDATA

Description

The PBDOM_CHARACTERDATA class represents character-based content
(not markup) within an XML document. It extends the PBDOM_OBJECT
class with a set of methods specifically intended for manipulating
character data in the DOM.

The PBDOM_CHARACTERDATA class is the parent class
of three other PBDOM classes:

  • PBDOM_TEXT

  • PBDOM_CDATA

  • PBDOM_COMMENT

The PBDOM_CHARACTERDATA class, like its parent class PBDOM_OBJECT,
is a “virtual” class (similar to a virtual C++ class)
in that it is not expected to be directly instantiated and used.

For example, in the following code, the attempt to set the
text of pbdom_chrdata raises an exception:

In this example, the attempt to set the text of pbdom_chrdata succeeds because pbdom_chrdata is
declared as a PBDOM_CHARACTERDATA but instantiated as a
PBDOM_TEXT:

Methods

Some of the inherited methods from PBDOM_OBJECT serve
no meaningful objective and only default or trivial functionalities
result. These are described in the following table:

Method

Always returns

AddContent

current PBDOM_CHARACTERDATA

GetContent

false

InsertContent

current PBDOM_CHARACTERDATA

RemoveContent

false

SetContent

current PBDOM_CHARACTERDATA

SetName

false

PBDOM_CHARACTERDATA has the following non-trivial
methods:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x