public class IdentityNamespaceResolver extends Object implements DurboNamespaceResolver
DurboNamespaceResolver
that maps prefixes to the same
value as the uris and vice versa.Constructor and Description |
---|
IdentityNamespaceResolver() |
public String getURI(String prefix) throws NamespaceException
getURI
in interface DurboNamespaceResolver
prefix
- a stringprefix
NamespaceException
public String getPrefix(String uri) throws NamespaceException
getPrefix
in interface DurboNamespaceResolver
uri
- a stringuri
NamespaceException
- if the URI is unknown."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"