eu.semaine.jms.message
Class SEMAINEEmmaMessage
java.lang.Object
eu.semaine.jms.message.SEMAINEMessage
eu.semaine.jms.message.SEMAINEXMLMessage
eu.semaine.jms.message.SEMAINEEmmaMessage
public class SEMAINEEmmaMessage
- extends SEMAINEXMLMessage
- Author:
- marc
Method Summary |
java.util.List<org.w3c.dom.Element> |
getBMLElements(org.w3c.dom.Element interpretation)
Get the BML (behaviour markup language) elements that are children of the given interpretation element. |
java.util.List<org.w3c.dom.Element> |
getEmotionElements(org.w3c.dom.Element interpretation)
Get the emotion elements that are children of the given interpretation element. |
java.util.List<org.w3c.dom.Element> |
getFacePresentElements(org.w3c.dom.Element interpretation)
|
java.util.List<org.w3c.dom.Element> |
getGenderElements(org.w3c.dom.Element interpretation)
|
org.w3c.dom.Element |
getGroup()
|
java.util.List<org.w3c.dom.Element> |
getNonverbalElements(org.w3c.dom.Element interpretation)
Get a list of any non-verbal elements which are direct children of the given interpretation. |
org.w3c.dom.Element |
getOneOf()
|
java.util.List<org.w3c.dom.Element> |
getPitchElements(org.w3c.dom.Element interpretation)
|
org.w3c.dom.Element |
getSequence()
|
java.util.List<org.w3c.dom.Element> |
getSpeakingElements(org.w3c.dom.Element interpretation)
|
org.w3c.dom.Element |
getTopLevelInterpretation()
Get the top-level interpretation in this EMMA document |
java.util.List<org.w3c.dom.Element> |
getVocalizationElements(org.w3c.dom.Element interpretation)
|
Methods inherited from class eu.semaine.jms.message.SEMAINEMessage |
getContentCreationTime, getContentID, getDatatype, getEventType, getMessage, getPeriod, getSource, getText, getTopicName, getUsertime, isBytesMessage, isEventBased, isPeriodic, isTextMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEMAINEEmmaMessage
public SEMAINEEmmaMessage(javax.jms.Message message)
throws MessageFormatException
- Parameters:
message
-
- Throws:
MessageFormatException
getOneOf
public org.w3c.dom.Element getOneOf()
getSequence
public org.w3c.dom.Element getSequence()
getTopLevelInterpretation
public org.w3c.dom.Element getTopLevelInterpretation()
- Get the top-level interpretation in this EMMA document
- Returns:
- the interpretation element, or null if there is no such element.
getGroup
public org.w3c.dom.Element getGroup()
getEmotionElements
public java.util.List<org.w3c.dom.Element> getEmotionElements(org.w3c.dom.Element interpretation)
- Get the emotion elements that are children of the given interpretation element.
- Parameters:
interpretation
- an interpretation element
- Returns:
- a list of emotion elements, or an empty list if there are no emotion children below interpretation.
getNonverbalElements
public java.util.List<org.w3c.dom.Element> getNonverbalElements(org.w3c.dom.Element interpretation)
- Get a list of any non-verbal elements which are direct children of the given interpretation.
- Parameters:
interpretation
-
- Returns:
- a list of non-verbal elements of various kinds, or an empty list if there are no such elements.
- See Also:
getBMLElements(Element)
,
getGenderElements(Element)
,
getSpeakingElements(Element)
,
getVocalizationElements(Element)
,
getPitchElements(Element)
,
getFacePresentElements(Element)
getBMLElements
public java.util.List<org.w3c.dom.Element> getBMLElements(org.w3c.dom.Element interpretation)
- Get the BML (behaviour markup language) elements that are children of the given interpretation element.
- Parameters:
interpretation
-
- Returns:
- a list of BML elements, or an empty list if there are no such children below interpretation.
getGenderElements
public java.util.List<org.w3c.dom.Element> getGenderElements(org.w3c.dom.Element interpretation)
getSpeakingElements
public java.util.List<org.w3c.dom.Element> getSpeakingElements(org.w3c.dom.Element interpretation)
getPitchElements
public java.util.List<org.w3c.dom.Element> getPitchElements(org.w3c.dom.Element interpretation)
getVocalizationElements
public java.util.List<org.w3c.dom.Element> getVocalizationElements(org.w3c.dom.Element interpretation)
getFacePresentElements
public java.util.List<org.w3c.dom.Element> getFacePresentElements(org.w3c.dom.Element interpretation)