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 DurboNamespaceResolverprefix - a stringprefixNamespaceExceptionpublic String getPrefix(String uri) throws NamespaceException
getPrefix in interface DurboNamespaceResolveruri - a stringuriNamespaceException - if the URI is unknown."Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"