public interface ContextVocabulary extends Serializable
It contains aspect definitions which in turn include property definitions.
Modifier and Type | Method and Description |
---|---|
ContextPropertyDefinition |
findPropertyDefinition(ContextPropertyName name)
Returns the property definition for the specified property name.
|
ContextPropertyDefinition |
findPropertyDefinition(String aspectName,
String localPropertyName)
Deprecated.
- please use findPropertyDefinition(ContextPropertyName name)
|
AspectDefinition |
get(String aspectName)
Returns the aspect definition for the specified aspect name.
|
String |
getId()
Returns the ID (unique identifier) for the vocabulary.
|
List<ContextPropertyDefinition> |
getPropertyDefinitions()
Return all the context property definitions in this repository in order of evaluation.
|
Set<String> |
keySet()
Returns the set of aspect names in the vocabulary e.g.
|
Set<String> keySet()
String getId()
AspectDefinition get(String aspectName)
aspectName
- aspect name@Deprecated ContextPropertyDefinition findPropertyDefinition(String aspectName, String localPropertyName) throws VocabularyException
aspectName
- aspect namelocalPropertyName
- local property nameVocabularyException
ContextPropertyDefinition findPropertyDefinition(ContextPropertyName name) throws VocabularyException
name
- context property nameVocabularyException
List<ContextPropertyDefinition> getPropertyDefinitions()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries