Answer a view of this resource as a class
@return This resource, but viewed as an OntClass @exception ConversionException if the resource cannot be converted to a classtype
parameter – typically an interface.
@param key the property key.
@param type the expected type of the Class, typically the interface it should implement.
@return a Class or null
if the property does not exist.
@throws ClassNotFoundException if no Class is found matching the name from the property value.
@throws ClassCastException if a Class is loaded but it does not implement the type
interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|