jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolf Benz" <euroj...@gmail.com>
Subject Re: namespace registering
Date Thu, 08 Mar 2007 13:33:53 GMT
You could, with code like this one:

Session s = getSession();
		try {
						
			logger.info("These Namespaces are declared for the repository: ");
			for(String prefix : s.getNamespacePrefixes()){
				logger.info("The prefix: " + prefix + " is mapped to Namespace: "
+ s.getNamespaceURI(prefix));
			}
...

Wolf

On 3/8/07, Michal Hybler <m.hybler@email.cz> wrote:
>
> I have a question. Is there any way to discover if the namespace id
> registered? Or If I register regitered namespace it  hasnt effect? Thanks
> Michal
> --
> View this message in context: http://www.nabble.com/namespace-registering-tf3368491.html#a9372273
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message