public class CustomSource extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected AnnouncementFileKey |
audioFile |
protected AnnouncementFileKey |
videoFile |
Constructor and Description |
---|
CustomSource() |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
CustomSource datatype,
String elementName)
Appends this DataType to the given Request
|
static CustomSource[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type CustomSource by parsing the XML node.
|
AnnouncementFileKey |
getAudioFile() |
static CustomSource |
getFromNode(Node node)
Retrieves an elements of type CustomSource by parsing an XML node.
|
AnnouncementFileKey |
getVideoFile() |
CustomSource |
setAudioFile(AnnouncementFileKey audioFile) |
CustomSource |
setVideoFile(AnnouncementFileKey videoFile) |
protected AnnouncementFileKey audioFile
protected AnnouncementFileKey videoFile
public AnnouncementFileKey getAudioFile()
public CustomSource setAudioFile(AnnouncementFileKey audioFile)
public AnnouncementFileKey getVideoFile()
public CustomSource setVideoFile(AnnouncementFileKey videoFile)
@GwtIncompatible public static Element formRequest(Request<?> request, CustomSource datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static CustomSource getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static CustomSource[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.