public class XCalNamespaceContext extends Object implements NamespaceContext
XPath.setNamespaceContext(NamespaceContext)| Modifier and Type | Field and Description |
|---|---|
static String |
XCAL_NS
The XML namespace for xCal documents.
|
| Constructor and Description |
|---|
XCalNamespaceContext(String prefix)
Creates a new namespace context.
|
public static final String XCAL_NS
public XCalNamespaceContext(String prefix)
prefix - the prefix to use in xpath expressionspublic String getPrefix()
public String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextpublic String getPrefix(String ns)
getPrefix in interface NamespaceContextpublic Iterator<String> getPrefixes(String ns)
getPrefixes in interface NamespaceContextCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.