Anfang des Inhaltsbereichs

HintergrunddokumentationHintergrunddokumentationHintergrunddokumentation Interface if_ixml_attribute  Dokument im Navigationsbaum lokalisieren

The iXMLAttribute interface represents an attribute in an iXMLElement object. Typically the allowable values for the attribute are defined in a document type definition.

DOM attribute objects inherit the iXMLNode interface, but since they are not actually child nodes of the element they describe, the DOM does not consider them part of the document tree. Thus, the iXMLNode methods getParent(), getPrev(), and nextPrev() have a null value for iXMLAttribute objects. The DOM takes the view that attributes are properties of elements rather than having a separate identity separate from the elements they are associated with; this should make it more efficient to implement such features as default attributes associated with all elements of a given type. Furthermore, iXMLAttribute nodes may not be immediate children of an iXMLDocumentFragment. However, they can be associated with element nodes contained within an iXMLDocumentFragment. In short, users and implementors of the DOM need to be aware that iXMLAttribute nodes have some things in common with other objects inheriting the iXMLNode interface, but they also are quite distinct.

The attribute's effective value is determined as follows: if this attribute has been explicitly assigned any value, that value is the attribute's effective value; otherwise, if there is a declaration for this attribute, and that declaration includes a default value, then that default value is the attribute's effective value; otherwise, the attribute does not exist on this element in the structure model until it has been explicitly added. Note that the getValue() method on the iXMLAttribute instance can also be used to retrieve the string version of the attribute's value(s).

In XML, the value of an attribute is represented by the child nodes of an iXMLAttribute node, since the value can contain entity references. Thus, attributes which contain entity references will have a child list containing both iXMLText nodes and iXMLEntityRef nodes. In addition, because the attribute type may be unknown, there are no tokenised attribute values.

specializes

enumerations

methods

 

 

method get_owner_element

This method returns a pointer to a iXMLNamedNodeMap containing this element's attribute nodes. If this element has no attributes, an empty iXMLNamedNodeMap is returned. This method returns a pointer to the iXMLElement that owns the attribute or null if this attribute is not in use.

interface

if_ixml_attribute

return value

Returns a pointer to the iXMLElement that owns the attribute.

abap signature

method get_owner_element

returning

value(rval) type ref to if_ixml_element.

 

 

method specified

This method returns true, if this attribute's value has been explicitely set by a call to setValue() or was specified in the XML document within its element tag. The method returns false if the attribute's value is implicitely defined by a default attribute value in the document's DTD.

interface

if_ixml_attribute

return value

Returns, whether this attribute's value has been explicitely specified.

abap signature

method specified

returning

value(rval) type boolean.

 

 

method append_child

Adds a child node to the end of the list of children for this node. If the newChild is already in the tree, it is first removed.

interface

if_ixml_attribute

parameters

new_child

The child node to append.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The given node has been appended successfully.

ixml_mr_dom_invalid_arg = 0x00020003L

The given argument is invalid.

abap signature

method append_child

importing

new_child type ref to if_ixml_node

returning

value(rval) type I.

 

 

method clone

Creates a "clone" or copy of this node and its child nodes down to the given depth (0..n).

interface

if_ixml_attribute

parameters

depth [ default -1 ]

The depth of the subtree of this node to copy. -1 will copy all child nodes (the complete sub-tree), 0 will not copy any child nodes, 1 will copy all immediate child nodes, etc.

return value

Returns a pointer to the copy of this node.

abap signature

method clone

importing

depth type I default -1

returning

value(rval) type ref to if_ixml_node.

 

 

method create_filter_ancestor

Creates a new node filter that is applied to all ancestors of the current node to be accepted by this filter. For a node in order to be accepted, one of the node's ancestor nodes has to be accepted by the filter given in the parameter filterAncestor of this method.

Please be aware that this filter is potentially expensive in computational cost since for each node the path to the root node is traversed!

interface

if_ixml_attribute

parameters

filter_ancestor

The filter to apply to all ancestor nodes.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_ancestor

importing

filter_ancestor type ref to if_ixml_node_filter

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_and

Creates a new node filter combining the two given filters in an AND-operation, i.e. in order for a node to be accepted by this filter, it has to be accepted by filter1 and filter2. If one of the two filters is already an AND-combination of filters, the other one is simply added to this filter and no new filter instance is created.

interface

if_ixml_attribute

parameters

filter1

The first filter to AND-combine in this filter.

filter2

The second filter to AND-combine in this filter.

return value

Returns an interface pointer to the new filter (or filter1 or filter2), or null if an error occured.

abap signature

method create_filter_and

importing

filter1 type ref to if_ixml_node_filter

filter2 type ref to if_ixml_node_filter

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_attribute

Deprecated (use createFilterAttributeNS() for namespace supprot). Creates a new node filter that can be used to filter nodes which have an attribute matching the specified criteria. In order to be accepted by this filter, a node must have an attribute with the given name. If the specified value is null, any attribute with the given name will match, otherwise only those which also have a match (case-sensitive) of the attribute's value.

deprecated

This method has been replaced by the method create_filter_attribute_ns(). It is still supported for compatibility reasons, but we recommend to switch to the replacement method, since create_filter_attribute() may not be supported any more in a future release.

interface

if_ixml_attribute

parameters

name

The name (local part) of the attribute that must defined for all nodes being accepted by this filter.

namespace [ default '' ]

The namespace (prefix) of the attribute that must be matched by all nodes being accepted by this filter or null if no namespace is given.

value [ default '' ]

The value the attribute has to match (case-sensitive) or null, if any value is sufficient.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_attribute

importing

name type string

namespace type string default ''

value type string default ''

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_attribute_ns

Deprecated (use createFilterAttributeNS() for namespace supprot). Creates a new node filter that can be used to filter nodes which have an attribute matching the specified criteria. In order to be accepted by this filter, a node must have an attribute with the given name. If the specified value is null, any attribute with the given name will match, otherwise only those which also have a match (case-sensitive) of the attribute's value.

interface

if_ixml_attribute

parameters

name

The name (local part) of the attribute that must defined for all nodes being accepted by this filter.

uri [ default '' ]

The namespace URI of the attribute that must be matched by all nodes being accepted by this filter or null if no namespace is given.

value [ default '' ]

The value the attribute has to match (case-sensitive) or null, if any value is sufficient.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_attribute_ns

importing

name type string

uri type string default ''

value type string default ''

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_name

Deprecated (use createFilterNameNS() for namespace support). Creates a new node filter that can be used to filter nodes that match the specified name.

deprecated

This method has been replaced by the method create_filter_name_ns(). It is still supported for compatibility reasons, but we recommend to switch to the replacement method, since create_filter_name() may not be supported any more in a future release.

interface

if_ixml_attribute

parameters

name

The name (local part) that must be matched by all nodes being accepted by this filter.

namespace [ default '' ]

Deprecated: The namespace (prefix) that must be matched by all nodes being accepted by this filter or null if no namespace is given.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_name

importing

name type string

namespace type string default ''

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_name_ns

Creates a new node filter that can be used to filter nodes that match the specified name.

interface

if_ixml_attribute

parameters

name

The name (local part) that must be matched by all nodes being accepted by this filter.

uri [ default '' ]

The namespace URI that must be matched by all nodes being accepted by this filter or null if no namespace is given.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_name_ns

importing

name type string

namespace type string default ''

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_node_type

Creates a new node filter that can be used to filter nodes of a given node type (see iXMLNode::NodeType). In order to be accepted by this filter, a node has to be of one of the node types specified in the parameter nodeTypes of this method.

interface

if_ixml_attribute

parameters

node_types

An OR-combination of all node types to be accepted by this filter.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_node_type

importing

node_types type I

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_not

Creates a new node filter that implements a logical NOT-operation on the given filter, i.e. in order for a node to be accepted by this filter, it has to be rejected by the filter specified by the parameter filterNot.

interface

if_ixml_attribute

parameters

filter_not

The filter to negate in this filter.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_not

importing

filter_not type ref to if_ixml_node_filter

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_or

Creates a new node filter combining the two given filters in an OR-operation, i.e. in order for a node to be accepted by this filter, it has to be accepted by either filter1 or filter2. If one of the two filters is already an OR-combination of filters, the other one is simply added to this filter and no new filter instance is created.

interface

if_ixml_attribute

parameters

filter1

The first filter to OR-combine in this filter.

filter2

The second filter to OR-combine in this filter.

return value

Returns an interface pointer to the new filter (or filter1 or filter2), or null if an error occured.

abap signature

method create_filter_or

importing

filter1 type ref to if_ixml_node_filter

filter2 type ref to if_ixml_node_filter

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_filter_parent

Creates a new node filter that is applied to the parent node of the current node to be accepted by this filter. For a node in order to be accepted, the node's parent node has to be accepted by the filter given in the parameter filterParent of this method.

interface

if_ixml_attribute

parameters

filter_parent

The filter to apply to the parent nodes.

return value

Returns an interface pointer to the new filter, or null if an error occured.

abap signature

method create_filter_parent

importing

filter_parent type ref to if_ixml_node_filter

returning

value(rval) type ref to if_ixml_node_filter.

 

 

method create_iterator

Creates a new tree iterator which traverses the DOM subtree rooted at this node in a DFS (depth-first search) manner from left to right. The depth parameter can be used to control the depth of the traversal (0: traverse complete subtree, 1: traverse immediate child nodes, 2: traverse down 2 levels, n: traverse down n levels...).

The iterator starts the iteration at this node.

interface

if_ixml_attribute

parameters

depth [ default 0 ]

The maximum depth to traverse (0: traverse complete subtree).

return value

Returns an interface pointer to the new iterator, or null if an error occured.

abap signature

method create_iterator

importing

depth type I default 0

returning

value(rval) type ref to if_ixml_node_iterator.

 

 

method create_iterator_filtered

Creates a new tree iterator which traverses the DOM subtree rooted at this node in a DFS (depth-first search) manner from left to right. The depth parameter can be used to control the depth of the traversal (0: traverse complete subtree, 1: traverse immediate child nodes, 2: traverse down 2 levels, n: traverse down n levels...). If a filter is specified, only nodes accepted by the filter are returned by the iterator.

The iterator starts the iteration at this node.

interface

if_ixml_attribute

parameters

filter

The (optional) filter to use when iterating; may be null.

depth [ default 0 ]

The maximum depth to traverse (0: traverse complete subtree).

return value

Returns an interface pointer to the new iterator, or null if an error occured.

abap signature

method create_iterator_filtered

importing

filter type ref to if_ixml_node_filter

depth type I default 0

returning

value(rval) type ref to if_ixml_node_iterator.

 

 

method create_rev_iterator

Creates a new reverse tree iterator which traverses the DOM subtree rooted at this node in a DFS (depth-first search) manner from right to left (hence, reverse). The depth parameter can be used to control the depth of the traversal (0: traverse complete subtree, 1: traverse immediate child nodes, 2: traverse down 2 levels, n: traverse down n levels...).

The iterator starts the iteration at this node.

interface

if_ixml_attribute

parameters

depth [ default 0 ]

The maximum depth to traverse (0: traverse complete subtree).

return value

Returns an interface pointer to the new iterator, or null if an error occured.

abap signature

method create_rev_iterator

importing

depth type I default 0

returning

value(rval) type ref to if_ixml_node_iterator.

 

 

method create_rev_iterator_filtered

Creates a new reverse tree iterator which traverses the DOM subtree rooted at this node in a DFS (depth-first search) manner from right to left (hence, reverse). The depth parameter can be used to control the depth of the traversal (0: traverse complete subtree, 1: traverse immediate child nodes, 2: traverse down 2 levels, n: traverse down n levels...). If a filter is specified, only nodes accepted by the filter are returned by the iterator.

The iterator starts the iteration at this node.

interface

if_ixml_attribute

parameters

filter

The (optional) filter to use when iterating; may be null.

depth [ default 0 ]

The maximum depth to traverse (0: traverse complete subtree).

return value

Returns an interface pointer to the new iterator, or null if an error occured.

abap signature

method create_rev_iterator_filtered

importing

filter type ref to if_ixml_node_filter

depth type I default 0

returning

value(rval) type ref to if_ixml_node_iterator.

 

 

method find_from_gid

This method returns the node with the specified generated ID (GID) within the children of this node. The depth argument can be used to limit the depth of the search (0 searches all child nodes, 1 searches immediate child nodes only, 2 searches immediate child nodes and the child nodes' immediate children, etc.). If no matching node is found, null is returned.

The search order is BSF.

interface

if_ixml_attribute

parameters

gid

The generated ID (GID) of the node to search.

depth [ default 0 ]

The search depth (0..n) below this node.

return value

Returns the first matching node in this node's children.

abap signature

method find_from_gid

importing

gid type I

depth type I default 0

returning

value(rval) type ref to if_ixml_node.

 

 

method get_attributes

This method returns a pointer to a iXMLNamedNodeMap containing this node's attribute nodes. If this node has no attributes, an empty iXMLNamedNodeMap is returned. Be aware that only a few node types have attributes (i.e. iXMLElement and iXMLPIParsed nodes).

interface

if_ixml_attribute

return value

Returns a pointer to an iXMLNamedNodeMap containing this node's attributes (may be empty).

abap signature

method get_attributes

returning

value(rval) type ref to if_ixml_named_node_map.

 

 

method get_children

Returns a list (iXMLNodeList) of the child nodes of this node. If this node has no child nodes, an empty list is returned.

interface

if_ixml_attribute

return value

Returns a list enumerating this node's child nodes.

abap signature

method get_children

returning

value(rval) type ref to if_ixml_node_list.

 

 

method get_column

Returns the column of the node in the input stream it was parsed from. If the node has been created dynamically, the value 0 is returned.

interface

if_ixml_attribute

return value

Returns the column [0..n] of the node in the input stream it was parsed from or 0 if the node was created dynamically (so there is no source position).

abap signature

method get_column

returning

value(rval) type I.

 

 

method get_depth

This method returns the maximum depth of the subtree formed by this node and its children. The depth ranges from 0 to n (0 = node has no children).

Whereas getHeight() measures upwards towards the tree's root node, getDepth() measures downwards.

interface

if_ixml_attribute

return value

Returns the depth of this node.

abap signature

method get_depth

returning

value(rval) type I.

 

 

method get_first_child

This method returns a pointer to this node's first child node.

interface

if_ixml_attribute

return value

Returns this node's first child node.

abap signature

method get_first_child

returning

value(rval) type ref to if_ixml_node.

 

 

method get_gid

This method returns a generated ID (GID) for this node. The GID is independent of a possible ID attribute of an Element node and can be used to uniquely identify nodes within a DOM tree instance. The GID of a node is only constant for the lifetime of the node's instance, i.e. parsing an XML document twice might result in the same logical node having different GIDs each time.

interface

if_ixml_attribute

return value

Returns the GID of this node.

abap signature

method get_gid

returning

value(rval) type I.

 

 

method get_height

This method returns the height of this node in the DOM tree, i.e. the distance to the root of the node hierarchy. The height of a node ranges from 0 to n (0 = node is root node).

Whereas getDepth() measures downwards in a subtree, getHeight() measures upwards.

interface

if_ixml_attribute

return value

Returns the height of this node.

abap signature

method get_height

returning

value(rval) type I.

 

 

method get_last_child

This method returns a pointer to this node's last child node.

interface

if_ixml_attribute

return value

Returns this node's last child node.

abap signature

method get_last_child

returning

value(rval) type ref to if_ixml_node.

 

 

method get_line

Returns the line of the node in the input stream it was parsed from. If the node has been created dynamically, the value 0 is returned.

interface

if_ixml_attribute

return value

Returns the line [1..n] of the node in the input stream it was parsed from or 0 if the node was created dynamically (so there is no source position).

abap signature

method get_line

returning

value(rval) type I.

 

 

method get_name

Returns the name (local part) of this node.

interface

if_ixml_attribute

return value

Returns the node's name.

abap signature

method get_name

returning

value(rval) type string.

 

 

method get_namespace

Returns the namespace (prefix) of this node.

deprecated

This method has been replaced by the method get_namespace_prefix(). It is still supported for compatibility reasons, but we recommend to switch to the replacement method, since get_namespace() may not be supported any more in a future release.

interface

if_ixml_attribute

return value

Returns the node's namespace (prefix).

abap signature

method get_namespace

returning

value(rval) type string.

 

 

method get_namespace_context

Returns the namespace context of this node.

interface

if_ixml_attribute

return value

Returns the node's namespace context.

abap signature

method get_namespace_context

returning

value(rval) type ref to if_ixml_namespace_context.

 

 

method get_namespace_prefix

Returns the namespace prefix of this node.

interface

if_ixml_attribute

return value

Returns the node's namespace prefix.

abap signature

method get_namespace_prefix

returning

value(rval) type string.

 

 

method get_namespace_uri

Returns the URI of the namespace of this node.

interface

if_ixml_attribute

return value

Returns the node's namespace URI.

abap signature

method get_namespace_uri

returning

value(rval) type string.

 

 

method get_next

This method returns a pointer to this node's successor node.

interface

if_ixml_attribute

return value

Returns this node's successor node.

abap signature

method get_next

returning

value(rval) type ref to if_ixml_node.

 

 

method get_owner_document

Provides access to the Document object associated with this node. This is also the document object used to create new nodes. When the node is a document this is null.

interface

if_ixml_attribute

return value

Returns a pointer to this node's Document node.

abap signature

method get_owner_document

returning

value(rval) type ref to if_ixml_document.

 

 

method get_parent

Returns the parent node of this node. If no such node exists, i.e. this node is the root node, null is returned.

interface

if_ixml_attribute

return value

Returns the node's parent node.

abap signature

method get_parent

returning

value(rval) type ref to if_ixml_node.

 

 

method get_prev

This method returns a pointer to this node's predecessor node.

interface

if_ixml_attribute

return value

Returns this node's predecessor node.

abap signature

method get_prev

returning

value(rval) type ref to if_ixml_node.

 

 

method get_root

This method returns a pointer to this node's root node.

interface

if_ixml_attribute

return value

Returns this node's root node.

abap signature

method get_root

returning

value(rval) type ref to if_ixml_node.

 

 

method get_type

Returns the type of this node (see iXMLNode::NodeType).

interface

if_ixml_attribute

return value

Returns the node's type.

abap signature

method get_type

returning

value(rval) type I.

 

 

method get_value

Returns the value of this node (if such a value is defined). Not all node types have values, in which case a null string is returned.

interface

if_ixml_attribute

return value

Returns the node's value if one exists or a null string.

abap signature

method get_value

returning

value(rval) type string.

 

 

method has_ancestor

This method returns true, if this node has ancestor as a direct or indirect parent node.

interface

if_ixml_attribute

parameters

ancestor

A pointer to the ancestor to check.

return value

Returns true if this node has ancestor as a direct or indirect parent node.

abap signature

method has_ancestor

importing

ancestor type ref to if_ixml_node

returning

value(rval) type boolean.

 

 

method insert_child

This method inserts newChild immediately before the given refChild node in this node's list of children. If refChild is 0, newChild is appended to the end of the list of children.

interface

if_ixml_attribute

parameters

new_child

The node to insert as a child node.

ref_child

The child node to insert newChild before (may be 0)

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The given node has been inserted successfully.

ixml_mr_dom_invalid_arg = 0x00020003L

One or more of the given arguments are invalid.

ixml_mr_dom_not_parent_child = 0x0002000eL

The refChild argument doesn't reference a child node of this node.

abap signature

method insert_child

importing

new_child type ref to if_ixml_node

ref_child type ref to if_ixml_node

returning

value(rval) type I.

 

 

method is_leaf

This method returns true, if this node is a leaf node, i.e. a node without child nodes.

interface

if_ixml_attribute

return value

Returns true if this node is a leaf node.

abap signature

method is_leaf

returning

value(rval) type boolean.

 

 

method is_root

This method returns true, if this node is a root node, i.e. a node without a parent node.

interface

if_ixml_attribute

return value

Returns true if this node is a root node.

abap signature

method is_root

returning

value(rval) type boolean.

 

 

method num_children

This method returns the number of child nodes of the this node.

interface

if_ixml_attribute

return value

Returns the number of child nodes.

abap signature

method num_children

returning

value(rval) type I.

 

 

method remove_child

Removes the child node indicated by oldChild from the list of children and returns it.

interface

if_ixml_attribute

parameters

old_child

The child node to remove.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The given node has been removed successfully.

ixml_mr_dom_invalid_arg = 0x00020003L

The given argument is invalid.

ixml_mr_dom_not_parent_child = 0x0002000eL

The oldChild argument doesn't reference a child node of this node.

abap signature

method remove_child

importing

old_child type ref to if_ixml_node

returning

value(rval) type I.

 

 

method remove_node

Removes this node (and all child nodes) from the document.

interface

if_ixml_attribute

abap signature

method remove_node.

 

 

method render

This method renders this node to the given output stream ostream.

interface

if_ixml_attribute

parameters

ostream

The output stream to render into.

recursive [ default 'X' ]

True, if this node's children are to be rendered, too.

abap signature

method render

importing

ostream type ref to if_ixml_ostream

recursive type boolean default 'X'.

 

 

method replace_child

This method replaces this node's child node oldChild with newChild.

interface

if_ixml_attribute

parameters

new_child

The node with which to replace oldChild.

old_child

The child node to replace.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The given node has been replaced successfully.

ixml_mr_dom_invalid_arg = 0x00020003L

One or more of the given arguments are invalid.

ixml_mr_dom_not_parent_child = 0x0002000eL

The oldChild argument doesn't reference a child node of this node.

abap signature

method replace_child

importing

new_child type ref to if_ixml_node

old_child type ref to if_ixml_node

returning

value(rval) type I.

 

 

method set_name

This method sets this node's name (local part).

interface

if_ixml_attribute

parameters

name

The new name for this node.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The name has been changed successfully.

ixml_mr_dom_not_allowed = 0x00020008L

The name of this object can't be changed.

abap signature

method set_name

importing

name type string

returning

value(rval) type I.

 

 

method set_namespace

This method sets this node's namespace (prefix).

deprecated

This method has been replaced by the method set_namespace_prefix(). It is still supported for compatibility reasons, but we recommend to switch to the replacement method, since set_namespace() may not be supported any more in a future release.

interface

if_ixml_attribute

parameters

namespace

The new namespace (prefix) for this node.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The namespace (prefix) has been changed successfully.

ixml_mr_dom_not_allowed = 0x00020008L

The namespace (prefix) of this node can't be set.

abap signature

method set_namespace

importing

namespace type string

returning

value(rval) type I.

 

 

method set_namespace_prefix

This method sets this node's namespace prefix.

interface

if_ixml_attribute

parameters

prefix

The new namespace prefix for this node.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The namespace prefix has been changed successfully.

ixml_mr_dom_not_allowed = 0x00020008L

The namespace prefix of this node can't be set.

abap signature

method set_namespace_prefix

importing

prefix type string

returning

value(rval) type I.

 

 

method set_namespace_uri

This method sets this node's namespace URI.

interface

if_ixml_attribute

parameters

prefix

The new namespace URI for this node.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The namespace URI has been changed successfully.

ixml_mr_dom_not_allowed = 0x00020008L

The namespace URI of this node can't be set.

abap signature

method set_namespace_uri

importing

uri type string

returning

value(rval) type I.

 

 

method set_value

This method sets a node's value. This operation is not supported or defined on all node types.

interface

if_ixml_attribute

parameters

value

The value to set for this node.

return value

Returns one of the following return codes:

ixml_mr_dom_ok = 0

The value has been set successfully.

ixml_mr_dom_invalid_arg = 0x00020003L

The given argument is invalid.

ixml_mr_dom_not_allowed = 0x00020008L

This node doesn't allow to set its value.

abap signature

method set_value

importing

value type string

returning

value(rval) type I.

 

 

method query_interface

Queries the specified interface.

interface

if_ixml_attribute

parameters

iid

The interface ID of the interface to query.

return value

Returns a reference to the queried interface or null if no such interface is supported.

abap signature

method query_interface

importing

iid type I

returning

value(rval) type I.