@Service(value="metadataService") public class MetadataService extends Object
Constructor and Description |
---|
MetadataService() |
Modifier and Type | Method and Description |
---|---|
<T extends MetadataFacet> |
getFactory(Class<T> facetClazz) |
MetadataFacetFactory<?> |
getFactory(String facetId) |
Class<? extends MetadataFacet> |
getFactoryClassForId(String facetId) |
MetadataResolver |
getMetadataResolver() |
Set<String> |
getSupportedFacets() |
void |
setMetadataFacetFactories(List<MetadataFacetFactory> factoryList) |
boolean |
supportsFacet(Class<? extends MetadataFacet> facetClazz) |
boolean |
supportsFacet(String facetId) |
public MetadataService()
@Inject public void setMetadataFacetFactories(List<MetadataFacetFactory> factoryList)
public <T extends MetadataFacet> MetadataFacetFactory<T> getFactory(Class<T> facetClazz)
public MetadataFacetFactory<?> getFactory(String facetId)
public Set<String> getSupportedFacets()
public boolean supportsFacet(Class<? extends MetadataFacet> facetClazz)
public boolean supportsFacet(String facetId)
public Class<? extends MetadataFacet> getFactoryClassForId(String facetId)
public MetadataResolver getMetadataResolver()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.