I am working on an extension in Jena, where I have to add new Update element similar to UpdateModify but the logic is different and I do not want to extend UpdateModify. The UpdateVisitor interface does not have a visit method for the new element. What would be a suitable way to proceed in this case? Create an interface which extends UpdateVisitor, add my new element's visitor method, in that case I have to rewrite all the other update instances which implements this newly extended interface. Is this a good way to implement this?
Asked
Active
Viewed 22 times