org.apache.batik.dom.svg12

Class SVGOMSubImageRefElement

public class SVGOMSubImageRefElement 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 can only be used to reference raster content (this is an implementation thing really)
  2. 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.
  3. It can contain a child element 'subImage' 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.
Constructor Summary
protected SVGOMSubImageRefElement()
Creates a new SubImageRefElement object.
SVGOMSubImageRefElement(String prefix, AbstractDocument owner)
Creates a new SubImageRefElement object.
Method Summary
StringgetLocalName()
DOM: Implements {@link org.w3c.dom.Node#getLocalName()}.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.

Constructor Detail

SVGOMSubImageRefElement

protected SVGOMSubImageRefElement()
Creates a new SubImageRefElement object.

SVGOMSubImageRefElement

public SVGOMSubImageRefElement(String prefix, AbstractDocument owner)
Creates a new SubImageRefElement object.

Parameters: prefix The namespace prefix. owner The owner document.

Method Detail

getLocalName

public String getLocalName()
DOM: Implements {@link org.w3c.dom.Node#getLocalName()}.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.