Class Iframe

    • Constructor Detail

      • Iframe

        public Iframe()
    • Method Detail

      • getHeight

        public java.lang.String getHeight()
        Returns the height of this iframe tag.
        Since:
        8.0.3
      • getName

        public java.lang.String getName()
        Returns the name of this iframe tag.
        Since:
        8.0.3
      • getSandbox

        public java.lang.String getSandbox()
        Returns the sandbox of this iframe tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setSandbox

        public void setSandbox​(java.lang.String sandbox)
                        throws WrongValueException
        Sets the sandbox of this iframe tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getSrc

        public java.lang.String getSrc()
        Returns the src of this iframe tag.
        Since:
        8.0.3
      • getSrcdoc

        public java.lang.String getSrcdoc()
        Returns the srcdoc of this iframe tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setSrcdoc

        public void setSrcdoc​(java.lang.String srcdoc)
                       throws WrongValueException
        Sets the srcdoc of this iframe tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getWidth

        public java.lang.String getWidth()
        Returns the width of this iframe tag.
        Since:
        8.0.3
      • getAllow

        public java.lang.String getAllow()
        Returns the allow of this tag.
        Since:
        10.0.0
      • getAllowfullscreen

        public java.lang.String getAllowfullscreen()
        Returns the allowfullscreen of this tag.
        Since:
        10.0.0
      • setAllowfullscreen

        public void setAllowfullscreen​(java.lang.String allowfullscreen)
                                throws WrongValueException
        Sets the allowfullscreen of this tag.
        Throws:
        WrongValueException
        Since:
        10.0.0
      • getLoading

        public java.lang.String getLoading()
        Returns the loading of this tag.
        Since:
        10.0.0
      • getReferrerpolicy

        public java.lang.String getReferrerpolicy()
        Returns the referrerpolicy of this tag.
        Since:
        10.0.0
      • setReferrerpolicy

        public void setReferrerpolicy​(java.lang.String referrerpolicy)
                               throws WrongValueException
        Sets the referrerpolicy of this tag.
        Throws:
        WrongValueException
        Since:
        10.0.0