com.werken.xpath

Interface NamespaceContext

Known Implementing Classes:
ElementNamespaceContext

public interface NamespaceContext

Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.

Method Summary

String
translateNamespacePrefix(String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

Method Details

translateNamespacePrefix

public String translateNamespacePrefix(String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

Parameters:
prefix - The namespace prefix

Returns:
The URI matching the prefix

See Also:
ContextSupport.setNamespaceContext(NamespaceContext)


Copyright B) 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.