Overview

A simple implementation of a NamespaceContext

Inherited Attributes

Function Summary

public addNamespace(prefix: String, uri: String, ) : Boolean

add a namespace mapping

public getNamespaceURI(prefix: String, ) : String

for a given prefix get its assocationed URI

public getPrefix(uri: String, ) : String

for a given uri get its associated prefix

public getPrefixes(uri: String, ) : Iterator

for a given uri get its associated prefixes

Inherited Functions

Functions

public addNamespace(prefix: String, uri: String, ):Boolean

Parameters
prefix
the prefix
uri
the uri
Returns
Boolean

add a namespace mapping

public getNamespaceURI(prefix: String, ):String

Parameters
prefix
the prefix
Returns
String
the URI

for a given prefix get its assocationed URI

public getPrefix(uri: String, ):String

Parameters
uri
the uri
Returns
String
the prefix

for a given uri get its associated prefix

public getPrefixes(uri: String, ):Iterator

Parameters
uri
the uri
Returns
Iterator
an iterator for the prefixes

for a given uri get its associated prefixes