PBDOM_ATTRIBUTE
Contents
- 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
Description
The PBDOM_ATTRIBUTE class defines the behavior for an XML attribute,
modeled in PowerScript. Its methods allow you to obtain the value of the
attribute as well as namespace information.
A PBDOM_ATTRIBUTE contains a subtree of child PBDOM_OBJECTS. These
children can be a combination of PBDOM_TEXT and PBDOM_ENTITYREFERENCE
objects.
PBDOM_ATTRIBUTE has no parent.
A PBDOM_ATTRIBUTE does not have a parent. However, it does have an
owner PBDOM_ELEMENT. Use the GetOwnerElementObject and
SetOwnerElementObject to get and set the owner.
For more information about the PBDOM_ATTRIBUTE object, including its
default PBDOM_TEXT object and its behavior with respect to XML namespaces,
see the section called “Using PowerBuilder XML Services” in Application Techniques.
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 |
|---|---|
|
GetParentObject |
null |
|
SetParentObject |
The current PBDOM_ATTRIBUTE, returned unmodified as a |
PBDOM_ATTRIBUTE has the following methods: