public class BasicUrnResolver extends Object implements URIResolver
Source.| Constructor and Description |
|---|
BasicUrnResolver(String urn,
Source source)
Constructs a
URIResolver which maps occurences of the given urn onto the given
source |
public BasicUrnResolver(String urn, Source source)
URIResolver which maps occurences of the given urn onto the given
sourceurn - The urn to be replaced.source - The value to return instead of the urn.public Source resolve(String href, String base) throws TransformerException
resolve in interface URIResolverTransformerExceptionCopyright © 2007-2013 JBoss, a division of Red Hat, Inc. All Rights Reserved.