public class WebDavNamespaceContext extends Object implements NamespaceContext
| Constructor and Description |
|---|
WebDavNamespaceContext(javax.jcr.Session session)
WebDav namespace context.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
createName(QName qName)
Converts QName into the String.
|
QName |
createQName(String strName)
Converts String into QName.
|
String |
getNamespaceURI(String prefix)
Returns namespace URI.
|
String |
getPrefix(String namespaceURI)
Returns namespace prefix.
|
Iterator<String> |
getPrefixes(String namespaceURI)
Returns the list of registered for this URI namespace prefixes.
|
public WebDavNamespaceContext(javax.jcr.Session session)
throws javax.jcr.RepositoryException
session - current session.javax.jcr.RepositoryException - RepositoryExceptionpublic QName createQName(String strName)
strName - string namepublic static String createName(QName qName)
qName - QNamepublic String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextprefix - namespace prefixNamespaceContext.getNamespaceURI(String)public String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextnamespaceURI - namespace URINamespaceContext.getPrefix(String)public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextnamespaceURI - namespace URINamespaceContext.getPrefixes(String)Copyright © 2016 eXo Platform SAS. All Rights Reserved.