Javax.Xml.Namespace.INamespaceContext

See Also: INamespaceContext Members

Syntax

[Android.Runtime.Register("javax/xml/namespace/NamespaceContext", "", "Javax.Xml.Namespace.INamespaceContextInvoker")]
public interface INamespaceContext : Android.Runtime.IJavaObject, IDisposable

Remarks

Interface for read only XML Namespace context processing.

An XML Namespace has the properties:

example: <element xmlns:prefix="http://Namespace-name-URI">

All get*(*) methods operate in the current scope for Namespace URI and prefix resolution.

Note that a Namespace URI can be bound to multiple prefixes in the current scope. This can occur when multiple XMLConstants.XMLNS_ATTRIBUTE ("xmlns") Namespace declarations occur in the same Start-Tag and refer to the same Namespace URI. e.g.

xml Example

 <element xmlns:prefix1="http://Namespace-name-URI"
          xmlns:prefix2="http://Namespace-name-URI">
 
This can also occur when the same Namespace URI is used in multiple XMLConstants.XMLNS_ATTRIBUTE ("xmlns") Namespace declarations in the logical parent element hierarchy. e.g.

xml Example

 <parent xmlns:prefix1="http://Namespace-name-URI">
   <child xmlns:prefix2="http://Namespace-name-URI">
     ...
   </child>
 </parent>
 

A prefix can only be bound to a single Namespace URI in the current scope.

See Also

[Android Documentation]

Requirements

Namespace: Javax.Xml.Namespace
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8