public class PrefixMapping extends Object
Constructor and Description |
---|
PrefixMapping(Map<String,String> prefixToURIMap)
Initializes the prefix mapping with the given map of prefixes to URIs.
|
public String getNs(String prefix)
prefix
- the searched prefixpublic String getPrefix(String namespaceURI)
namespaceURI
- the searched namespace URIpublic String expandPrefix(String prefixedName) throws QueryExecutionException
prefixedName
- prefixed name to expandQueryExecutionException
- used prefix has no mappingCopyright © 2013. All Rights Reserved.