com.hp.hpl.mesa.rdf.jena.model
Interface ResourceF

All Known Implementing Classes:
Regression.ResTestObjF

public interface ResourceF

Create an application specific resource instance.

Applications may need to have classes which add behaviour to Resources, e.g. to support the behaviour of container classes. Factory objects supporting this interface may be used to construct instances of these so called enhanced resources.

Version:
Release='$Name: $' Revision='$Revision: 1.1 $' Date='$Date: 2001/01/05 14:16:44 $'
Author:
bwm

Method Summary
 Resource createResource(Resource r)
          Create new resource instance which extends the behaviour of a supplied resource.
 

Method Detail

createResource

public Resource createResource(Resource r)
                        throws java.lang.Exception
Create new resource instance which extends the behaviour of a supplied resource.
Parameters:
r - The core resource whose behaviour is to be extended.
Returns:
the newly created resource.
Throws:
java.lang.Exception - May throw any exception.


Copyright © 2001 Hewlett-Packard. All Rights Reserved.