Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pluggable class binding strategy #4

Open
cyberborean opened this issue Mar 6, 2016 · 1 comment
Open

Pluggable class binding strategy #4

cyberborean opened this issue Mar 6, 2016 · 1 comment
Milestone

Comments

@cyberborean
Copy link
Owner

Currently, binding RDF Types to RDFBeans Java classes are performed by a built-in procedure based on adding special triples to the underlying RDF model. There are scenarios when the user may want to change the way it works:

  • To have better control over the implementation: i.e. specify another Repository and/or context for binding data
  • To implement a custom strategy (like static binding)

There should be a pluggable mechanism for Java class binding, similar to the one we have for datatypes (DatatypeMapper).

@wherget
Copy link
Collaborator

wherget commented May 23, 2016

Since I was just thinking about this, something similar to @XMLSeeAlso might be sensible to have, such that bindings for applicable classes can be discovered. That is, without rolling out a larger pluggable mechanism.

In general it might make sense to have a closer look at JAXB, which does quite a few things similar to RDFBeans.

@cyberborean cyberborean modified the milestones: 2.3, 2.2 Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants