* partial statement accordingly.
*
* @see IReflectionProvider.IVisitor#visit(Class, Object)
*/
public void visit(Class<?> type, Object instance) {
rdf annotation = type.getAnnotation(rdf.class);
if(annotation == null) {
mode = Mode.IGNORE;
return;
}
if(RDFReflectionUtil.isPredicate(type)) {
mode = Mode.PREDICATE;
try {
tmpStatement = new Statement<Object, Object>(null, annotation.value(), null);
} catch (URISyntaxException e) {
logger.error("Encountered an invalid uri for a property.", e);
}
// Do nothing else, but while visiting methods, we will look for @subject and @object tags.
} else {