Class JavaScriptActionType


  • public class JavaScriptActionType
    extends ActionEventType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The executeJavaScript action runs passed JavaScript code.</p>
     

    Java class for JavaScriptActionType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="JavaScriptActionType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}ActionEventType">
           <attribute name="jsAction" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • jsAction

        protected String jsAction
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A string that contains all the required JavaScript statements. References to libraries and external definitions will be valid as long as they are supported by the PDF standard and the reader application provides the corresponding interfaces.</p>
         
    • Constructor Detail

      • JavaScriptActionType

        public JavaScriptActionType()
    • Method Detail

      • getJsAction

        public String getJsAction()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A string that contains all the required JavaScript statements. References to libraries and external definitions will be valid as long as they are supported by the PDF standard and the reader application provides the corresponding interfaces.</p>
         
        Returns:
        possible object is String
      • setJsAction

        public void setJsAction​(String value)
        Sets the value of the jsAction property.
        Parameters:
        value - allowed object is String
        See Also:
        getJsAction()
      • isSetJsAction

        public boolean isSetJsAction()