com.aspose.html

Class HTMLAnchorElement

    • Constructor Detail

      • HTMLAnchorElement

        public HTMLAnchorElement(DOMName name,
                                 Document doc)

        Initializes a new instance of the HTMLAnchorElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getAccessKey

        @DOMNameAttribute(name="accessKey")
        public String getAccessKey()

        A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

      • setAccessKey

        @DOMNameAttribute(name="accessKey")
        public void setAccessKey(String value)

        A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

      • getCharset

        @DOMNameAttribute(name="charset")
        public String getCharset()

        The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.

      • setCharset

        @DOMNameAttribute(name="charset")
        public void setCharset(String value)

        The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.

      • getCoords

        @DOMNameAttribute(name="coords")
        public String getCoords()

        Comma-separated list of lengths, defining an active region geometry. See also

         shape
         
        for the shape of the region. See the coords attribute definition in HTML 4.01.

      • setCoords

        @DOMNameAttribute(name="coords")
        public void setCoords(String value)

        Comma-separated list of lengths, defining an active region geometry. See also

         shape
         
        for the shape of the region. See the coords attribute definition in HTML 4.01.

      • getHreflang

        @DOMNameAttribute(name="hreflang")
        public String getHreflang()

        Language code of the linked resource. See the hreflang attribute definition in HTML 4.01.

      • setHreflang

        @DOMNameAttribute(name="hreflang")
        public void setHreflang(String value)

        Language code of the linked resource. See the hreflang attribute definition in HTML 4.01.

      • setName

        @DOMNameAttribute(name="name")
        public void setName(String value)

        Anchor name. See the name attribute definition in HTML 4.01.

      • setRel

        @DOMNameAttribute(name="rel")
        public void setRel(String value)

        Forward link type. See the rel attribute definition in HTML 4.01.

      • setRev

        @DOMNameAttribute(name="rev")
        public void setRev(String value)

        Reverse link type. See the rev attribute definition in HTML 4.01.

      • getShape

        @DOMNameAttribute(name="shape")
        public String getShape()

        The shape of the active area. The coordinates are given by

         coords
         
        . See the shape attribute definition in HTML 4.01.

      • setShape

        @DOMNameAttribute(name="shape")
        public void setShape(String value)

        The shape of the active area. The coordinates are given by

         coords
         
        . See the shape attribute definition in HTML 4.01.

      • getTabIndex

        @DOMNameAttribute(name="tabIndex")
        public int getTabIndex()

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • setTabIndex

        @DOMNameAttribute(name="tabIndex")
        public void setTabIndex(int value)

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • getTarget

        @DOMNameAttribute(name="target")
        public String getTarget()

        Frame to render the resource in. See the target attribute definition in HTML 4.01.

      • setTarget

        @DOMNameAttribute(name="target")
        public void setTarget(String value)

        Frame to render the resource in. See the target attribute definition in HTML 4.01.

      • getType

        @DOMNameAttribute(name="type")
        public String getType()

        Advisory content type. See the type attribute definition in HTML 4.01.

      • setType

        @DOMNameAttribute(name="type")
        public void setType(String value)

        Advisory content type. See the type attribute definition in HTML 4.01.