public class Checker
extends java.lang.Object
| Constructor and Description |
|---|
Checker() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.validation.Schema |
getEmotionmlSchema() |
org.w3c.dom.Document |
parse(java.io.InputStream emotionmlStream) |
void |
validate(org.w3c.dom.Document emotionml) |
void |
validateFragment(org.w3c.dom.DocumentFragment emotionmlFragment) |
public Checker()
throws ConfigurationException
ConfigurationExceptionpublic org.w3c.dom.Document parse(java.io.InputStream emotionmlStream)
throws NotValidEmotionmlException
NotValidEmotionmlExceptionpublic void validate(org.w3c.dom.Document emotionml)
throws NotValidEmotionmlException
NotValidEmotionmlExceptionpublic void validateFragment(org.w3c.dom.DocumentFragment emotionmlFragment)
throws NotValidEmotionmlException
NotValidEmotionmlExceptionpublic javax.xml.validation.Schema getEmotionmlSchema()