public class LdContextFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_SCHEMA_ORG |
| Constructor and Description |
|---|
LdContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getTerms(MixinSource mixinSource,
Object bean,
Class<?> mixInClass) |
String |
getVocab(MixinSource mixinSource,
Object bean,
Class<?> mixInClass)
Gets vocab for given bean.
|
void |
setProxyUnwrapper(ProxyUnwrapper proxyUnwrapper) |
Map<String,Object> |
termsFromClass(Class<?> clazz) |
String |
vocabFromClassOrPackage(Class<?> clazz) |
public static final String HTTP_SCHEMA_ORG
public String getVocab(MixinSource mixinSource, Object bean, Class<?> mixInClass)
bean - to inspect for vocabmixInClass - for bean which might define a vocab or has a context providerpublic Map<String,Object> getTerms(MixinSource mixinSource, Object bean, Class<?> mixInClass)
public void setProxyUnwrapper(ProxyUnwrapper proxyUnwrapper)
Copyright © 2014–2019. All rights reserved.