jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@day.com>
Subject Re: Incremental node type update?!?
Date Sat, 19 Jul 2008 12:02:59 GMT
On Fri, Jul 18, 2008 at 10:04 PM, Nick Stuart
<nstuart@speranzasystems.com> wrote:
> One question though, I noticed the NodeTypeManagerImpl doesn't let you
> specify the type of input stream you are feeding it on the two register
> methods. Does this mean its always going to want an XML file?

how about this one?

http://jackrabbit.apache.org/api/1.4/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.html#registerNodeTypes(java.io.InputStream,%20java.lang.String,%20boolean)

contentType is one of the following:

JackrabbitNodeTypeManager.TEXT_X_JCR_CND
JackrabbitNodeTypeManager.TEXT_XML

cheers
stefan

>
> If so thats kind of a pain....
>

Mime
View raw message