Class HTMLPage.Scriptable

    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String propertyName)
        get the Object with the given propertyName
        Overrides:
        get in class ScriptableDelegate
        Parameters:
        propertyName - - the name of the property
      • set

        public void set​(java.lang.String propertyName,
                        java.lang.Object value)
        Sets the value of the named property. Will throw a runtime exception if the property does not exist or cannot accept the specified value.
        Overrides:
        set in class ScriptableDelegate
      • getTitle

        public java.lang.String getTitle()
                                  throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • replaceText

        public boolean replaceText​(java.lang.String text,
                                   java.lang.String contentType)
      • setCookie

        public void setCookie​(java.lang.String name,
                              java.lang.String value)
      • getCookie

        public java.lang.String getCookie()
      • getElementsByName

        public ScriptableDelegate[] getElementsByName​(java.lang.String name)
      • getElementsByTagName

        public ScriptableDelegate[] getElementsByTagName​(java.lang.String name)