Class SVGOMMultiImageElement

  • All Implemented Interfaces:
    java.io.Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.svg.SVGElement

    public class SVGOMMultiImageElement
    extends SVGStylableElement
    This class implements a multiImage extension to SVG. The 'multiImage' element is similar to the 'image' element (supports all the same attributes and properties) except.
    1. It has two addtional attributes: 'pixel-width' and 'pixel-height' which are the maximum width and height of the image referenced by the xlink:href attribute.
    2. It can contain a child element 'subImage' which has two attributes, pixel-width, pixel-height. It holds SVG content to be rendered.
    3. It can contain a child element 'subImageRef' which has only three attributes, pixel-width, pixel-height and xlink:href. The image displayed is the smallest image such that pixel-width and pixel-height are greater than or equal to the required image size for display.
    Version:
    $Id: SVGOMMultiImageElement.java 1733416 2016-03-03 07:07:13Z gadams $
    See Also:
    Serialized Form
    • Constructor Detail

      • SVGOMMultiImageElement

        protected SVGOMMultiImageElement()
        Creates a new SVG MultiImageElement object.
      • SVGOMMultiImageElement

        public SVGOMMultiImageElement​(java.lang.String prefix,
                                      AbstractDocument owner)
        Creates a new SVG MultiImageElement object.
        Parameters:
        prefix - The namespace prefix.
        owner - The owner document.
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        DOM: Implements Node.getLocalName().
        Specified by:
        getLocalName in interface org.w3c.dom.Node
        Overrides:
        getLocalName in class AbstractNode
      • newNode

        protected org.w3c.dom.Node newNode()
        Returns a new uninitialized instance of this object's class.
        Specified by:
        newNode in class AbstractNode