You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2009/09/10 11:56:57 UTC

[jira] Updated: (JCR-2301) CND support in jackrabbit-jcr-commons

     [ https://issues.apache.org/jira/browse/JCR-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig updated JCR-2301:
-------------------------------

    Attachment: JCR-2301-poc.patch

Proof of concept patch. 

Class CompactNodeTypeDefReader is parametrized now: 

  class CompactNodeTypeDefReader<T, N> 

where T is the types to build, and N the namespace mapping to use. CompactNodeTypeDefReader constructor takes a builder for these types. Builders must derived from AbstractItemTypeDefinitionsBuilder<T, N>. 

CompactNodeTypeDefReader, AbstractItemTypeDefinitionsBuilder and related classes do not have any SPI dependencies anymore

Missing yet:
- JavaDoc is hopefully out dated
- everything still in spi-commons
- CompactNodeTypeDefReader.read needs to move to utility class since it ties in spi dependencies. 



> CND support in jackrabbit-jcr-commons
> -------------------------------------
>
>                 Key: JCR-2301
>                 URL: https://issues.apache.org/jira/browse/JCR-2301
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-jcr-commons, nodetype
>            Reporter: Jukka Zitting
>         Attachments: JCR-2301-poc.patch
>
>
> It would be nice if the CND parsing functionality in spi-commons could be made available in jcr-commons for use by JCR clients that shouldn't have to know anything about the SPI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.