Start of Content Area

Background documentationBackground documentation Interface if_ixml_namespace_context  Locate the document in its SAP Library structure

Specifies the namespace context of a particular DOM node.

enumerations

methods

 

 

method bind

This method binds the given namespace prefix to the specified namespace URI.

interface

if_ixml_namespace_context

parameters

prefix

The namespace prefix to bind.

uri

The namespace URI to which to bind the prefix.

abap signature

method bind

importing

prefix type string

uri type string.

 

 

method clone

Creates a "clone" or copy of this namespace context.

interface

if_ixml_namespace_context

return value

Returns a pointer to the copy of this namespace context.

abap signature

method clone

returning

value(rval) type ref to if_ixml_namespace_context.

 

 

method get_binding_prefix

This method returns the namespace prefix defined in the binding specified by the given index [0..numBindings).

interface

if_ixml_namespace_context

parameters

index

The index [0..numBindings) of the binding for which to return the namespace prefix.

return value

Returns the namespace prefix defined in the binding specified by index.

abap signature

method get_binding_prefix

importing

index type I

returning

value(rval) type string.

 

 

method get_binding_uri

This method returns the namespace URI defined in the binding specified by the given index [0..numBindings).

interface

if_ixml_namespace_context

parameters

index

The index [0..numBindings) of the binding for which to return the namespace URI.

return value

Returns the namespace URI defined in the binding specified by index.

abap signature

method get_binding_uri

importing

index type I

returning

value(rval) type string.

 

 

method map_to_prefix

This method returns the namespace prefix associated with the given namespace URI in this context. If there are several prefixes associated with the URI, the most recently bound prefix is returned.

interface

if_ixml_namespace_context

return value

Returns the namespace prefix associated with the given namespace URI.

abap signature

method map_to_prefix

importing

uri type string

returning

value(rval) type string.

 

 

method map_to_uri

This method returns the namespace URI associated with the given namespace prefix in this context.

interface

if_ixml_namespace_context

return value

Returns the namespace URI associated with the given namespace prefix.

abap signature

method map_to_uri

importing

prefix type string

returning

value(rval) type string.

 

 

method num_bindings

This method returns the number of namespace prefix/URI bindings defined in this context.

interface

if_ixml_namespace_context

return value

Returns the number of namespace prefix/URI bindings defined in this context.

abap signature

method num_bindings

returning

value(rval) type I.