com.novell.xml.xpath
Interface NamespaceContext

All Known Implementing Classes:
ExpressionContext, StringNamespaceContext, StylesheetParser

public interface NamespaceContext

Interface for namepace declarations that are in scope for an expression


Method Summary
 ExpandedQName getExpandedName(String qName)
          Return the expanded name given the passed QName, given the current namespace context
 NamespaceName getNamespaceName(String prefix)
          Return the currently in-scope namespace URI for the passed prefix.
 

Method Detail

getNamespaceName

public NamespaceName getNamespaceName(String prefix)
Return the currently in-scope namespace URI for the passed prefix.

Parameters:
prefix - The QName prefix of interest
Returns:
The namespace name associated with the prefix for the passed prefix

getExpandedName

public ExpandedQName getExpandedName(String qName)
Return the expanded name given the passed QName, given the current namespace context

Parameters:
qName - The QName to expand
Returns:
The expanded Name