Next in thread → Next in month →

Re: [xml-dev] ANN: OWL API (Java version and XSLT version)

From
Bill de hÓra <>
To
"Roger L. Costello" <>
Date
2003-06-08T18:09:34Z
ID
<>
Thread
Re: [xml-dev] ANN: OWL API (Java version and XSLT version)
Roger L. Costello wrote:

> Here is a summary of the API:
> 
>     public String getProperties(String classURI) {…}
>     public String getEquivalentProperties(String propertyURI) {…}
>     public String getSuperClasses(String classURI) {…}
>     public String getPropertyTypes(String propertyURI) {…}
>     public String getClassSpecificPropertyDefinitions(String classURI,
> String propertyURI) {…}
>     public String getDomain(String propertyURI) {…}
>     public String getRange(String propertyURI) {…}
>     public String getInstances(String classURI) {…}
>     public String getEquivalentClasses(String classURI) {…}

If you added

   String get(Filter f, String uri);

and made each of the calls above typesafe optimizations of the 
generic get, your API will be extensible without subclassing. You'll 
also have the basis for a query API later on.

Bill de hÓra

-- 
Propylon
www.propylon.com
Next in thread → Next in month →