コード例 #1
0
 private String vocabFromClass(Class<?> clazz) {
   String vocabFromClassOrPackage = ldContextFactory.vocabFromClassOrPackage(clazz);
   return vocabFromClassOrPackage == null
       ? LdContextFactory.HTTP_SCHEMA_ORG
       : vocabFromClassOrPackage;
 }
コード例 #2
0
 private Map<String, Object> termsFromBean(Object content) {
   return ldContextFactory.getTerms(mixinSource, content, null);
 }
コード例 #3
0
 private Map<String, Object> termsFromClazz(Class<?> clazz) {
   return ldContextFactory.termsFromClass(clazz);
 }
コード例 #4
0
 @Nullable
 private String vocabFromBean(Object content) {
   return ldContextFactory.getVocab(mixinSource, content, null);
 }