-
public interface NamespaceResolver
Used byDatatypeWriter
to declare additional namespaces.- Author:
- Kohsuke Kawaguchi
- See Also:
DatatypeWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPrefix(String nsUri)
Allocates a prefix for the specified URI and returns it.
-
-
-
Method Detail
-
getPrefix
String getPrefix(String nsUri)
Allocates a prefix for the specified URI and returns it.- Parameters:
nsUri
- the namespace URI to be declared. Can be empty but must not be null.- Returns:
- the empty string if the URI is bound to the default namespace. Otherwise a non-empty string that represents a prefix.
-
-