public class EmotionVocabulary
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EmotionVocabulary.Type |
| Modifier and Type | Method and Description |
|---|---|
static EmotionVocabulary |
get(org.w3c.dom.Document ownerDocument,
java.lang.String vocabularyId) |
static EmotionVocabulary |
get(java.lang.String vocabularyURL)
Obtain an EmotionVocabulary object representing the emotion vocabulary defined at the given vocabularyURL.
|
java.util.Set<java.lang.String> |
getItems() |
EmotionVocabulary.Type |
getType() |
public static EmotionVocabulary get(java.lang.String vocabularyURL) throws NoSuchVocabularyException
vocabularyURL - the exact URL of the vocabulary, including the fragment identifier, e.g. http://www.w3.org/TR/emotion-voc/xml#big6.NoSuchVocabularyException - if there is no emotion vocabulary defined at the given URLpublic static EmotionVocabulary get(org.w3c.dom.Document ownerDocument, java.lang.String vocabularyId) throws NoSuchVocabularyException
NoSuchVocabularyExceptionpublic EmotionVocabulary.Type getType()
public java.util.Set<java.lang.String> getItems()