org.w3c.dom.svg
Interface SVGElementInstance

All Superinterfaces:
EventTarget

public interface SVGElementInstance
extends EventTarget

This interface represents an SVGElementInstance in the document tree. For each 'use' element, the uDOM represents the referenced content with shadow tree of SVGElementInstance objects. A SVGElementInstance represents a single node in the instance tree.

This interface is a subset of the SVGElementInstance interface defined in SVG 1.1.

Category:
Experimental

Since:
BlackBerry API 5.0.0

Method Summary
 SVGElement getCorrespondingElement()
           Returns the corresponding element to which this object is an instance.
 SVGElement getCorrespondingUseElement()
           Returns the corresponding 'use' element to which this SVGElementInstance object belongs.
 
Methods inherited from interface org.w3c.dom.events.EventTarget
addEventListener, dispatchEvent, removeEventListener
 

Method Detail

getCorrespondingElement

public SVGElement getCorrespondingElement()

Returns the corresponding element to which this object is an instance. For example, if a 'use' element references a 'rect' element, then an SVGElementInstance is created, with its correspondingElement being the SVGElementInstance object for the 'rect' element.

Returns:
the corresponsing element.
Throws:
SecurityException - if the application does not have the necessary privilege rights to access this (SVG) content.
Since:
BlackBerry API 5.0.0
Category:
Experimental

getCorrespondingUseElement

public SVGElement getCorrespondingUseElement()

Returns the corresponding 'use' element to which this SVGElementInstance object belongs.

Returns:
the corresponsing 'use' element.
Throws:
SecurityException - if the application does not have the necessary privilege rights to access this (SVG) content.
Since:
BlackBerry API 5.0.0
Category:
Experimental



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.