|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.nodetype.xml.AdditionalNamespaceResolver
public class AdditionalNamespaceResolver
A simple namespace resolver implementation, that uses the additional namespaces declared in an XML element.
| Constructor Summary | |
|---|---|
AdditionalNamespaceResolver(NamespaceRegistry registry)
Creates a namespace resolver using the namespaces declared in the given namespace registry. |
|
AdditionalNamespaceResolver(Properties namespaces)
Creates a namespace resolver using the namespaces defined in the given prefix-to-URI property set. |
|
| Method Summary | |
|---|---|
String |
getPrefix(String uri)
|
String |
getURI(String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdditionalNamespaceResolver(Properties namespaces)
namespaces - namespace properties
public AdditionalNamespaceResolver(NamespaceRegistry registry)
throws RepositoryException
registry - namespace registry
RepositoryException - on repository errors| Method Detail |
|---|
public String getURI(String prefix)
throws NamespaceException
getURI in interface NamespaceResolverNamespaceException
public String getPrefix(String uri)
throws NamespaceException
getPrefix in interface NamespaceResolverNamespaceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||