class XsdNamespaceContext implements NamespaceContext {

    @Override
    public String getNamespaceURI(String prefix)
    {
        if (NS_PREFIX_XSD.equals(prefix))
        {
            return NS_URI_XSD;
        }
        throw new UnsupportedOperationException("Unknown prefix \"" + prefix + "\"");
    }

}