|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weblab_project.core.helper.RDFHelperFactory
public class RDFHelperFactory
Factory used to dynamically load an implementation of PoKHelper
, PoKHelperExtended
, ResourceHelper
and
ResourceHelperExtended
.
PoKHelperExtended
,
PoKHelper
,
ResourceHelper
,
ResourceHelperExtended
Field Summary | |
---|---|
static java.lang.String |
FILENAME
The properties file used. |
Method Summary | |
---|---|
static PoKHelper |
getPoKHelper(PieceOfKnowledge pok)
Creates dynamically an instance of PoKHelper using the PieceOfKnowledge in parameter and the class defined in
helper.properties as the implementation class. |
static PoKHelperExtended |
getPoKHelperExtended(PieceOfKnowledge pok)
Creates dynamically an instance of PoKHelperExtended using the PieceOfKnowledge in parameter and the class defined
in helper.properties as the implementation class. |
static java.lang.String |
getPoKHelperExtendedImplClassName()
Use this to know the full name of the used implementation class of PoKHelperExtended . |
static java.lang.String |
getPoKHelperImplClassName()
Use this to know the full name of the used implementation class of PoKHelper . |
static ResourceHelper |
getResourceHelper(Resource resource)
Creates dynamically an instance of ResourceHelper using the Resource in parameter and the class defined in
helper.properties as the implementation class. |
static ResourceHelperExtended |
getResourceHelperExtended(Resource resource)
Creates dynamically an instance of ResourceHelperExtended using the Resource in parameter and the class defined in
helper.properties as the implementation class. |
static java.lang.String |
getResourceHelperExtendedImplClassName()
Use this to know the full name of the used implementation class of ResourceHelperExtended . |
static java.lang.String |
getResourceHelperImplClassName()
Use this to know the full name of the used implementation class of ResourceHelper . |
static PoKHelper |
getSpecificPoKHelper(PieceOfKnowledge pok,
java.lang.String pokHelperImpl)
Creates dynamically an instance of PoKHelper using the PieceOfKnowledge and the implementation class in parameter. |
static PoKHelperExtended |
getSpecificPoKHelperExtended(PieceOfKnowledge pok,
java.lang.String pokHelperExtImpl)
Creates dynamically an instance of PoKHelperExtended using the PieceOfKnowledge and the implementation class in
parameter. |
static ResourceHelper |
getSpecificResourceHelper(Resource resource,
java.lang.String resHelperImpl)
Creates dynamically an instance of ResourceHelper using the Resource and the implementation class in parameter. |
static ResourceHelperExtended |
getSpecificResourceHelperExtended(Resource resource,
java.lang.String resHelperExtImpl)
Creates dynamically an instance of ResourceHelperExtended using the Resource and the implementation class in
parameter. |
static void |
setPoKHelperExtendedImplClassName(java.lang.String pokHelperExtendedImplClassName)
Use this to set the class implementation name for PoKHelperExtended . |
static void |
setPoKHelperImplClassName(java.lang.String pokHelperImplClassName)
Use this to set the class implementation name for PoKHelper . |
static void |
setResourceHelperExtendedImplClassName(java.lang.String resourceHelperExtendedImplClassName)
Use this to set the class implementation name for ResourceHelperExtended . |
static void |
setResourceHelperImplClassName(java.lang.String resourceHelperImplClassName)
Use this to set the class implementation name for ResourceHelper . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FILENAME
Method Detail |
---|
public static PoKHelper getPoKHelper(PieceOfKnowledge pok)
PoKHelper
using the PieceOfKnowledge
in parameter and the class
defined in
helper.properties as the implementation class.
pok
- The PieceOfKnowledge
to be handled with an PoKHelper
.
PoKHelper
's implementation for this PieceOfKnowledge
.public static PoKHelper getSpecificPoKHelper(PieceOfKnowledge pok, java.lang.String pokHelperImpl)
PoKHelper
using the PieceOfKnowledge
and the implementation class
in parameter.
pok
- The PieceOfKnowledge
to be handled with an PoKHelper
.pokHelperImpl
- The implementation class name.
PoKHelper
's implementation for this PieceOfKnowledge
.public static PoKHelperExtended getPoKHelperExtended(PieceOfKnowledge pok)
PoKHelperExtended
using the PieceOfKnowledge
in parameter and the class
defined
in helper.properties as the implementation class.
pok
- The PieceOfKnowledge
to be handled with an PoKHelperExtended
.
PoKHelperExtended
's implementation for this PieceOfKnowledge
.public static PoKHelperExtended getSpecificPoKHelperExtended(PieceOfKnowledge pok, java.lang.String pokHelperExtImpl)
PoKHelperExtended
using the PieceOfKnowledge
and the implementation class
in
parameter.
pok
- The PieceOfKnowledge
to be handled with an PoKHelperExtended
.pokHelperExtImpl
- The implementation class name.
PoKHelperExtended
's implementation for this PieceOfKnowledge
.public static java.lang.String getPoKHelperExtendedImplClassName()
PoKHelperExtended
.
public static java.lang.String getPoKHelperImplClassName()
PoKHelper
.
public static ResourceHelperExtended getResourceHelperExtended(Resource resource)
ResourceHelperExtended
using the Resource
in parameter and the class
defined in
helper.properties as the implementation class.
resource
- The Resource
to be handled with an ResourceHelperExtended
.
ResourceHelperExtended
's implementation for this Resource
.public static ResourceHelperExtended getSpecificResourceHelperExtended(Resource resource, java.lang.String resHelperExtImpl)
ResourceHelperExtended
using the Resource
and the implementation class
in
parameter.
resource
- The Resource
to be handled with an ResourceHelperExtended
.resHelperExtImpl
- The implementation class name.
ResourceHelperExtended
's implementation for this Resource
.public static ResourceHelper getResourceHelper(Resource resource)
ResourceHelper
using the Resource
in parameter and the class
defined in
helper.properties as the implementation class.
resource
- The Resource
to be handled with an ResourceHelper
.
ResourceHelper
's implementation for this Resource
.public static ResourceHelper getSpecificResourceHelper(Resource resource, java.lang.String resHelperImpl)
ResourceHelper
using the Resource
and the implementation class
in parameter.
resource
- The Resource
to be handled with an ResourceHelper
.resHelperImpl
- The implementation class name.
ResourceHelper
's implementation for this Resource
.public static java.lang.String getResourceHelperImplClassName()
ResourceHelper
.
public static java.lang.String getResourceHelperExtendedImplClassName()
ResourceHelperExtended
.
public static void setPoKHelperExtendedImplClassName(java.lang.String pokHelperExtendedImplClassName)
PoKHelperExtended
. Only use it if you are working with two implementations. You'd rather
use one implementation contained by the helper.properties file.
pokHelperExtendedImplClassName
- The full name of the implementation class
.public static void setPoKHelperImplClassName(java.lang.String pokHelperImplClassName)
PoKHelper
. Only use it if you are working with two implementations. You'd rather use one
implementation contained by the helper.properties file.
pokHelperImplClassName
- The full name of the implementation class
.public static void setResourceHelperImplClassName(java.lang.String resourceHelperImplClassName)
ResourceHelper
. Only use it if you are working with two implementations. You'd rather use
one implementation contained by the helper.properties file.
resourceHelperImplClassName
- The full name of the implementation class
.public static void setResourceHelperExtendedImplClassName(java.lang.String resourceHelperExtendedImplClassName)
ResourceHelperExtended
. Only use it if you are working with two implementations. You'd
rather use one implementation contained by the helper.properties file.
resourceHelperExtendedImplClassName
- The full name of the implementation class
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |