Class ScriptType
java.lang.Object
ca.phon.query.db.xml.io.query.ScriptType
Type definition for the script element.
Java class for ScriptType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ScriptType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element ref="{http://phon.ling.mun.ca/ns/query}source"/>
<element ref="{http://phon.ling.mun.ca/ns/query}url"/>
</choice>
<element ref="{http://phon.ling.mun.ca/ns/query}output" minOccurs="0"/>
<element ref="{http://phon.ling.mun.ca/ns/query}param" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="mimetype" type="{http://phon.ling.mun.ca/ns/query}mimeType" default="text/javascript" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the mimetype property.Console output for querygetParam()Script input parameters Gets the value of the param property.Source for query scriptgetUrl()URL for query scriptvoidsetMimetype(String value) Sets the value of the mimetype property.voidSets the value of the output property.voidSets the value of the source property.voidsetUrl(ScriptURLType value) Sets the value of the url property.
-
Field Details
-
source
-
url
-
output
-
param
-
mimetype
-
-
Constructor Details
-
ScriptType
public ScriptType()
-
-
Method Details
-
getSource
-
setSource
-
getUrl
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isScriptURLType
-
getOutput
-
setOutput
-
getParam
Script input parameters Gets the value of the param property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the param property.For example, to add a new item, do as follows:
getParam().add(newItem);Objects of the following type(s) are allowed in the list
ParamType -
getMimetype
-
setMimetype
-