From: <php...@li...> - 2011-04-24 21:05:00
|
Hi Everybody, Sorry if this question has been asked again and again, but I cannot see how I can search the mailing list's archive on source forge. So, my question is: is it possible to implement a class interface directly in PHP? Here is what I am trying to do. I want to implement an interface like this: ======= new OWLEntityURIConverterStrategy { IRI getConvertedIRI(OWLEntity entity){ String original = entity.getIRI().toString(); String replacement =<various string bashing to go from the first form to the second one> return IRI.create(replacement); } } ======= So, I want to implement that code, into PHP using the php/java bridge. The interface is available from here [1]. Is this possible? I tried to find an answer to my question within the FAQ, API pages (both client and server) and on other web pages, but I had no success to far, so it is why I am directing my question on the mailing list. [1] http://owlapi.sourceforge.net/javadoc/org/semanticweb/owlapi/util/OWLEntityURIConverterStrategy.html Thanks! Take care, Fred |