- Author
- Daniel Jettka
Class containing methods for converting between data types.
Definition at line 42 of file TypeConverter.java.
static String de.uni_hamburg.corpora.utilities.TypeConverter.BasicTranscription2String |
( |
BasicTranscription |
bt | ) |
|
|
static |
Converts a BasicTranscription object into a String object.
- Parameters
-
bt | BasicTranscription object that shall be converted to String object |
- Returns
- String object that was created from BasicTranscription
Definition at line 74 of file TypeConverter.java.
static String de.uni_hamburg.corpora.utilities.TypeConverter.InputStream2String |
( |
InputStream |
is | ) |
|
|
static |
Converts an InputStream object into a String object.
- Parameters
-
is | InputStream object that shall be converted to String object |
- Returns
- String object that was created from InputStream object
Definition at line 50 of file TypeConverter.java.
static String de.uni_hamburg.corpora.utilities.TypeConverter.JdomDocument2String |
( |
org.jdom.Document |
jdomDocument | ) |
|
|
static |
Converts a org.jdom.Document object into a String object.
- Parameters
-
s | org.jdom.Document object that shall be converted to String object |
- Returns
- String object that was created from org.jdom.Document object
Definition at line 117 of file TypeConverter.java.
static org.w3c.dom.Document de.uni_hamburg.corpora.utilities.TypeConverter.JdomDocument2W3cDocument |
( |
org.jdom.Document |
jdomDoc | ) |
|
|
static |
Converts a org.jdom.Document object into a org.w3c.dom.Document object.
- Parameters
-
s | org.jdom.Document object that shall be converted to org.w3c.dom.Document object |
- Returns
- org.w3c.dom.Document object that was created from org.jdom.Document object
Definition at line 174 of file TypeConverter.java.
static BasicTranscription de.uni_hamburg.corpora.utilities.TypeConverter.String2BasicTranscription |
( |
String |
btAsString | ) |
|
|
static |
Converts a String object into a BasicTranscription object.
- Parameters
-
btAsString | String object that shall be converted to BasicTranscription object |
- Returns
- String object that was created from BasicTranscription object
Definition at line 85 of file TypeConverter.java.
static InputStream de.uni_hamburg.corpora.utilities.TypeConverter.String2InputStream |
( |
String |
s | ) |
|
|
static |
Converts a String object into an InputStream object.
- Parameters
-
s | String object that shall be converted to InputStream object |
- Returns
- InputStream object that was created from String object
Definition at line 62 of file TypeConverter.java.
static org.jdom.Document de.uni_hamburg.corpora.utilities.TypeConverter.String2JdomDocument |
( |
String |
stringRespresentingDocument | ) |
|
|
static |
Converts a org.jdom.Document object into a String object.
- Parameters
-
s | org.jdom.Document object that shall be converted to String object |
- Returns
- String object that was created from org.jdom.Document object
Definition at line 129 of file TypeConverter.java.
static StreamSource de.uni_hamburg.corpora.utilities.TypeConverter.String2StreamSource |
( |
String |
s | ) |
|
|
static |
Converts a String object into a StreamSource object.
- Parameters
-
s | String object that shall be converted to StreamSource object |
- Returns
- StreamSource object that was created from String object
Definition at line 105 of file TypeConverter.java.
static org.w3c.dom.Document de.uni_hamburg.corpora.utilities.TypeConverter.String2W3cDocument |
( |
String |
stringRespresentingDocument | ) |
|
|
static |
Converts a org.jdom.Document object into a String object.
- Parameters
-
s | org.jdom.Document object that shall be converted to String object |
- Returns
- String object that was created from org.jdom.Document object
Definition at line 213 of file TypeConverter.java.
static org.jdom.Document de.uni_hamburg.corpora.utilities.TypeConverter.W3cDocument2JdomDocument |
( |
org.w3c.dom.Document |
input | ) |
|
|
static |
Converts a org.w3c.dom.Document object into a org.jdom.Document object.
- Parameters
-
s | org.w3c.dom.Document object that shall be converted to org.jdom.Document object |
- Returns
- org.jdom.Document object that was created from org.w3c.dom.Document object
Definition at line 155 of file TypeConverter.java.
static String de.uni_hamburg.corpora.utilities.TypeConverter.W3cDocument2String |
( |
org.w3c.dom.Document |
doc | ) |
|
|
static |
Converts a org.w3c.dom.Document object into a String object.
- Parameters
-
doc | org.w3c.dom.Document object that shall be converted to String object |
- Returns
- String object that was created from org.w3c.dom.Document object
Definition at line 191 of file TypeConverter.java.
The documentation for this class was generated from the following file: