public class PDSNamespacePrefixMapper
extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
| Constructor and Description |
|---|
PDSNamespacePrefixMapper()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespaceURIMapping(String prefix,
String URI)
Adds a namespace to the map.
|
String |
getDefaultNamespaceURI() |
String |
getPreferredPrefix(String namespaceUri,
String suggestion,
boolean requirePrefix) |
void |
setDefaultNamespaceURI(String defaultNamespaceURI)
Sets the default namespace uri.
|
public static final String FILE
public PDSNamespacePrefixMapper()
throws IOException
IOException - If there was an error loading the default namepsaces.public void setDefaultNamespaceURI(String defaultNamespaceURI)
defaultNamespaceURI - namespace uri.public String getDefaultNamespaceURI()
public void addNamespaceURIMapping(String prefix, String URI)
prefix - The namespace prefix.URI - The namespace uri.Copyright © 2021. All rights reserved.