switch (mode) {
case STANDARD:
if (!(AbstractConfiguration.getNamespaceUriEncoder()
instanceof StandardNamespaceUriEncoder)) {
AbstractConfiguration.setNamespaceUriEncoder(
new StandardNamespaceUriEncoder());
}
return;
case DOTONLY:
if (!(AbstractConfiguration.getNamespaceUriEncoder()
instanceof DotOnlyNamespaceUriEncoder)) {