public class MaryXML extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUDIO |
static String |
BOUNDARY |
static String |
MARK |
static String |
MARYXML |
static String |
MTU |
static String |
NONVERBAL |
static String |
PARAGRAPH |
static String |
PHONE |
static String |
PHONOLOGY |
static String |
PHRASE |
static String |
PROSODY |
static String |
SAYAS |
static String |
SENTENCE |
static String |
SYLLABLE |
static String |
TOKEN |
static String |
VOICE |
Constructor and Description |
---|
MaryXML() |
Modifier and Type | Method and Description |
---|---|
static Element |
appendChildElement(Node node,
String childName) |
static Element |
createElement(Document doc,
String elementName)
In the given MaryXML document, create a new element of the given name, with the proper namespace.
|
static String |
getNamespace() |
static String |
getRootTagname() |
static String |
getVersion() |
static Document |
newDocument() |
public static final String MARYXML
public static final String PARAGRAPH
public static final String SENTENCE
public static final String VOICE
public static final String PHRASE
public static final String MARK
public static final String SAYAS
public static final String PHONOLOGY
public static final String PROSODY
public static final String AUDIO
public static final String BOUNDARY
public static final String MTU
public static final String TOKEN
public static final String SYLLABLE
public static final String PHONE
public static final String NONVERBAL
public static String getVersion()
public static String getNamespace()
public static String getRootTagname()
public static Document newDocument()
public static Element createElement(Document doc, String elementName)
doc
- a MaryXML documentelementName
- the name of the MaryXML documentIllegalArgumentException
- if the document is not a maryxml document with the proper namespace.Copyright © 2000–2016 DFKI GmbH. All rights reserved.