OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS