Class XPathNamespaceContext
java.lang.Object
com.espertech.esper.common.internal.event.xml.XPathNamespaceContext
- All Implemented Interfaces:
NamespaceContext
Provides the namespace context information for compiling XPath expressions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a namespace prefix and namespace name to context.getNamespaceURI
(String prefix) getPrefixes
(String namespaceURI) void
setDefaultNamespace
(String defaultNamespace) Sets the default namespace.toString()
-
Constructor Details
-
XPathNamespaceContext
public XPathNamespaceContext()Ctor.
-
-
Method Details
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNamespaceContext
-
getPrefix
- Specified by:
getPrefix
in interfaceNamespaceContext
-
getPrefixes
- Specified by:
getPrefixes
in interfaceNamespaceContext
-
setDefaultNamespace
Sets the default namespace.- Parameters:
defaultNamespace
- is the default namespace
-
addPrefix
Add a namespace prefix and namespace name to context.- Parameters:
prefix
- - namespace prefixuri
- - namespace name to add
-
toString
-