PowerBuilder Extension Reference

Appeon PowerBuilder® 2022

FOR WINDOWS

DOCUMENT ID: DC33821-01-1900-01

LAST REVISED: October 31, 2022

Copyright © Appeon. All rights reserved.

This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement.

Upgrades are provided only at regularly scheduled software release dates. No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Appeon Inc.

Appeon and other Appeon products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Appeon Inc.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP and SAP affiliate company.

Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.

All other company and product names mentioned may be trademarks of the respective companies with which they are associated.

Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.

Appeon Inc., 1/F, Shell Industrial Building, 12 Lee Chung Street, Chai Wan District, Hong Kong

Table of Contents

PowerBuilder Extensions
About PowerBuilder extensions
Using PowerBuilder extensions
Getting information about PowerBuilder extensions
EJB Client (obsolete)
PowerBuilder Document Object Model
About PBDOM
Node trees
XML parser
Objects and methods
PBDOM objects
PBDOM_ATTRIBUTE Class
PBDOM_ATTRIBUTE
AddContent
Clone
Detach
Equals
GetBooleanValue
GetContent
GetDateValue
GetDateTimeValue
GetDoubleValue
GetIntValue
GetLongValue
GetName
GetNamespacePrefix
GetNamespaceUri
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetOwnerElementObject
GetQualifiedName
GetRealValue
GetText
GetTextNormalize
GetTextTrim
GetTimeValue
GetUintValue
GetUlongValue
HasChildren
InsertContent
IsAncestorObjectOf
RemoveContent
SetBooleanValue
SetContent
SetDateValue
SetDateTimeValue
SetDoubleValue
SetIntValue
SetLongValue
SetName
SetNamespace
SetOwnerElementObject
SetRealValue
SetText
SetTimeValue
SetUintValue
SetUlongValue
PBDOM_BUILDER Class
PBDOM_BUILDER
BuildFromDataStore
BuildFromFile
BuildFromString
GetParseErrors
PBDOM_CDATA Class
PBDOM_CDATA
Append
Clone
Detach
Equals
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetText
GetTextNormalize
GetTextTrim
SetParentObject
SetText
PBDOM_ENTITYREFERENCE Class
PBDOM_ENTITYREFERENCE
Clone
Detach
Equals
GetName
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
SetName
SetParentObject
PBDOM_CHARACTERDATA Class
PBDOM_CHARACTERDATA
Append
Clone
Detach
Equals
GetOwnerDocumentObject
GetName
GetObjectClass
GetObjectClassString
GetParentObject
GetText
GetTextNormalize
GetTextTrim
HasChildren
IsAncestorObjectOf
SetParentObject
SetText
PBDOM_COMMENT Class
PBDOM_COMMENT
Append
Clone
Detach
Equals
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetText
GetTextNormalize
GetTextTrim
SetParentObject
SetText
PBDOM_DOCTYPE Class
PBDOM_DOCTYPE
Clone
Detach
Equals
GetInternalSubset
GetName
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetPublicID
GetSystemID
SetDocument
SetInternalSubset
SetName
SetParentObject
SetPublicID
SetSystemID
PBDOM_DOCUMENT Class
PBDOM_DOCUMENT
AddContent
Clone
DetachRootElement
Equals
GetContent
GetDocType
GetElementsByTagName
GetObjectClass
GetObjectClassString
GetRootElement
GetXMLDeclaration
HasChildren
HasRootElement
InsertContent
IsAncestorObjectOf
NewDocument
RemoveContent
SaveDocument
SaveDocumentIntoString
SetContent
SetDocType
SetRootElement
SetXMLDeclaration
PBDOM_ELEMENT Class
PBDOM_ELEMENT
AddContent
AddNamespaceDeclaration
Clone
Detach
Equals
GetAttribute
GetAttributes
GetAttributeValue
GetChildElement
GetChildElements
GetContent
GetName
GetNamespacePrefix
GetNamespaceUri
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetQualifiedName
GetText
GetTextNormalize
GetTextTrim
HasAttributes
HasChildElements
HasChildren
InsertContent
IsAncestorObjectOf
IsRootElement
RemoveAttribute
RemoveChildElement
RemoveChildElements
RemoveContent
RemoveNamespaceDeclaration
SetAttribute
SetAttributes
SetContent
SetDocument
SetName
SetNamespace
SetParentObject
SetText
PBDOM_EXCEPTION Class
PBDOM exceptions
PBDOM exception descriptions
PBDOM_EXCEPTION
GetExceptionCode
PBDOM_OBJECT Class
PBDOM_OBJECT
AddContent
Clone
Detach
Equals
GetContent
GetName
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetText
GetTextNormalize
GetTextTrim
HasChildren
InsertContent
IsAncestorObjectOf
RemoveContent
SetContent
SetName
SetParentObject
PBDOM_PROCESSINGINSTRUCTION Class
PBDOM_PROCESSINGINSTRUCTION
Clone
Detach
Equals
GetData
GetName
GetNames
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetTarget
GetText
GetTextNormalize
GetTextTrim
GetValue
RemoveValue
SetData
SetName
SetParentObject
SetValue
PBDOM_TEXT Class
PBDOM_TEXT
Append
Clone
Detach
Equals
GetObjectClass
GetObjectClassString
GetOwnerDocumentObject
GetParentObject
GetText
GetTextNormalize
GetTextTrim
SetParentObject
SetText
PBDOM Summary
Summary of PBDOM classes and methods