[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suggestions



Ciao

I agree with the URI completely... even though not all the uri
schemes are standardized (I believe), it still provides flexibility
to different proprietary schemes.

So, here's the current DataSource interface that is implemented
by SiRPAC. If you have no changes, I make a new release of SiRPAC
and start placing files under cvs.

public interface DataSource
{
    /**
     * register a Tellable object
     *
     * @param	t	Tellable object
     */
    public void		register (Tellable t);

    /**
     * unregister a Tellable object
     *
     * @param	t	Tellable object
     */
    public void		unregister (Tellable t);

    /**
     * start processing RDF (from the URI set by setURI)
     *
     */
    public void		fetchRDF ();

    /**
     * Bean method for setting the URI
     *
     * @param	sURI	URI to the RDF data
     */
    public void		setURI (String sURI);

    /**
     * Bean method for getting the URI
     */
    public void		getURI ();
}


Janne
--
Janne Saarela           | Visiting scientist
Email: jsaarela@w3.org  | World Wide Web Consortium http://www.w3.org/