Implements NamespaceContext (and does nothing else)
Lob in the prefix-uri mappings that you want to use in your app. Job done. Your input docs can then use any prefix you want (or any your users want...).
Now then, let's not write this class again.
See https://jitpack.io/#sjgibbs/xml-namespace-context for details