jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nuescheler <david.nuesche...@gmail.com>
Subject Re: register NodeTypeDef
Date Wed, 01 Dec 2004 15:30:20 GMT
> > Hi list,
> > has anybody a code example how to create a custom nodetype?
> > It's not the NodeTypeDef itself that's the problem, the registration causes
> > headaches with me.
> >
> > How do I create a NodeTypeRegistry to call registerNodeType on it?
> > Is it somewhere exposed or do I have to build it on my own (which will be even
> > harder because I somehow need a NamespaceRegistryImpl and Filesystem object).
> Workspace wsp = session.getWorkspace();
> NodeTypeManager ntMgr = wsp.getNodeTypeManager();
> NodeTypeRegistry ntReg = ((NodeTypeManagerImpl) ntMgr).getNodeTypeRegistry();
please keep in ming that this is outside 
the jsr-170-spec:

and of course find a pretty gui do try things out at ;) :

standardize your content-repository !
---------------------------------------< david.nuescheler@day.com >---

This message is a private communication. If you are not the intended
recipient, please do not read, copy, or use it, and do not disclose it
to others. Please notify the sender of the delivery error by replying
to this message, and then delete it from your system. Thank you.

The sender does not assume any liability for timely, trouble free,
complete, virus free, secure, error free or uninterrupted arrival of
this e-mail. For verification please request a hard copy version.


David Nuescheler
Chief Technology Officer
Day Software AG
Barfuesserplatz 6 / Postfach
4001 Basel

T  41 61 226 98 98
F  41 61 226 98 97

View raw message