clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CLEREZZA-886) Parser and Serializer shall have a service property indicating the supported formats
Date Sun, 02 Mar 2014 13:30:19 GMT

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

Reto Bachmann-Gmür resolved CLEREZZA-886.
-----------------------------------------

    Resolution: Fixed

> Parser and Serializer shall have a service property indicating the supported formats
> ------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-886
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-886
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> This allows clients to ensure the injected Parser supports the formats they need, e.g.:
> public static final String PARSER_FILTER =
>             "(&("+SupportedFormat.supportedFormat+"=" + SupportedFormat.RDF_XML +
") "+
>             "("+SupportedFormat.supportedFormat+"=" + SupportedFormat.N_TRIPLE + "))";
> @Reference(target = PARSER_FILTER)
> private Parser parser;
> The parser needs to adapt the service properties when a parsing provider is added or
removed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message