import javax.xml.namespace.NamespaceContext;
import org.opendaylight.yangtools.yang.common.QNameModule;
import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
+import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContextUtils;
/**
* A {@link NamespaceContext} implementation based on the set of imports and local module namespace.
return localNamespaceURI();
}
- final QNameModule module = Utils.getModuleQNameByPrefix(ctx, prefix);
+ final QNameModule module = StmtContextUtils.getModuleQNameByPrefix(ctx, prefix);
return module == null ? null : module.getNamespace().toString();
}