Class XMLScript
java.lang.Object
ca.phon.query.db.xml.XMLScript
- All Implemented Interfaces:
Script,JAXBWrapper<ScriptType>
An XML-based implementation of
Script.-
Method Summary
Modifier and TypeMethodDescriptionGets the MIME-type for this script.Gets the parameters used in this script.Gets the source code for this script.getUrl()Get url for script.Get the JAXB element associated with this object.voidsetMimeType(String mimeType) Sets the MIME-type for this script.voidsetParameters(Map<String, String> params) Sets the parameters used in this script.voidSets the source code for this script.voidSet url for script.
-
Method Details
-
getXMLObject
Get the JAXB element associated with this object.- Specified by:
getXMLObjectin interfaceJAXBWrapper<ScriptType>- Returns:
-
getSource
-
setUrl
-
getUrl
-
setSource
-
getParameters
-
setParameters
-
getMimeType
Description copied from interface:ScriptGets the MIME-type for this script.- Specified by:
getMimeTypein interfaceScript- Returns:
- the MIME-type
-
setMimeType
Description copied from interface:ScriptSets the MIME-type for this script.- Specified by:
setMimeTypein interfaceScript
-