On Fri, Jul 18, 2008 at 10:04 PM, Nick Stuart
<[EMAIL PROTECTED]> 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....
>

Reply via email to