public final class StaticXmlNamespaceInfoProvider extends Object implements XmlNamespaceInfoProvider
XmlNamespaceInfoProvider
which provides a fixed set of XmlNamespaceInfo
instances obtained through the
constructorConstructor and Description |
---|
StaticXmlNamespaceInfoProvider(Collection<XmlNamespaceInfo> namespaceInfos)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Collection<XmlNamespaceInfo> |
getXmlNamespacesInfo()
Most likely, hand made extensions will return a single value since they only provide support for a namespace but for other
scenarios, like extensions build with the SDK, it may provide several values.
|
public StaticXmlNamespaceInfoProvider(Collection<XmlNamespaceInfo> namespaceInfos)
namespaceInfos
- the Collection
to be returned by getXmlNamespacesInfo()
public Collection<XmlNamespaceInfo> getXmlNamespacesInfo()
XmlNamespaceInfoProvider
getXmlNamespacesInfo
in interface XmlNamespaceInfoProvider
XmlNamespaceInfo
with the relation between a prefix and it's namespace URI in XML.Copyright © 2018. All rights reserved.