Class ScriptType

java.lang.Object
ca.phon.query.db.xml.io.query.ScriptType

public class ScriptType extends Object
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 Details

  • Constructor Details

    • ScriptType

      public ScriptType()
  • Method Details

    • getSource

      public String getSource()
      Source for query script
      Returns:
      possible object is String
    • setSource

      public void setSource(String value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is String
    • getUrl

      public ScriptURLType getUrl()
      URL for query script
      Returns:
      possible object is ScriptURLType
    • setUrl

      public void setUrl(ScriptURLType value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is ScriptURLType
    • getOutput

      public String getOutput()
      Console output for query
      Returns:
      possible object is String
    • setOutput

      public void setOutput(String value)
      Sets the value of the output property.
      Parameters:
      value - allowed object is String
    • getParam

      public List<ParamType> 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 set method 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

      public String getMimetype()
      Gets the value of the mimetype property.
      Returns:
      possible object is String
    • setMimetype

      public void setMimetype(String value)
      Sets the value of the mimetype property.
      Parameters:
      value - allowed object is String