jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <michael.due...@day.com>
Subject Re: CompactNodeTypeDefReader with JR 2.0
Date Wed, 16 Dec 2009 16:08:57 GMT
Torgeir Veimo wrote:
> This class now seems to take an additional constructor parameter, from
> what it did in JR 1.6.
> 
> CompactNodeTypeDefReader(Reader r, String systemId,
> DefinitionBuilderFactory<T, N> factory)
> 
> Is there any example that shows how to use it, alternatively any other
> way to read in my cnd file with JR 2.0?
> 

You might want to have a look at 
org.apache.jackrabbit.commons.cnd.CndImporter

This utility class takes care about parsing you cnd and registering them.

Michael

Mime
View raw message