public final class SaxonNamespaceContext extends Object implements NamespaceContext, net.sf.saxon.om.NamespaceResolver
Constructor and Description |
---|
SaxonNamespaceContext(com.helger.xml.namespace.MapBasedNamespaceContext aCtx) |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceURI(String sPrefix) |
String |
getPrefix(String sNamespaceURI) |
Iterator<?> |
getPrefixes(String sNamespaceURI) |
String |
getURIForPrefix(String sPrefix,
boolean bUseDefault) |
Iterator<String> |
iteratePrefixes() |
public SaxonNamespaceContext(@Nonnull com.helger.xml.namespace.MapBasedNamespaceContext aCtx)
@Nullable public String getURIForPrefix(@Nullable String sPrefix, boolean bUseDefault)
getURIForPrefix
in interface net.sf.saxon.om.NamespaceResolver
@Nonnull public Iterator<String> iteratePrefixes()
iteratePrefixes
in interface net.sf.saxon.om.NamespaceResolver
@Nonnull public String getNamespaceURI(@Nonnull String sPrefix)
getNamespaceURI
in interface NamespaceContext
@Nullable public String getPrefix(@Nonnull String sNamespaceURI)
getPrefix
in interface NamespaceContext
@Nonnull public Iterator<?> getPrefixes(@Nonnull String sNamespaceURI)
getPrefixes
in interface NamespaceContext
Copyright © 2014–2017 Philip Helger. All rights reserved.