org.vectomatic.dom.svg.itf
Interface ISVGTests

All Known Implementing Classes:
OMSVGAElement, OMSVGAltGlyphElement, OMSVGAnimateColorElement, OMSVGAnimateElement, OMSVGAnimateMotionElement, OMSVGAnimateTransformElement, OMSVGAnimationElement, OMSVGCircleElement, OMSVGClipPathElement, OMSVGCursorElement, OMSVGDefsElement, OMSVGEllipseElement, OMSVGForeignObjectElement, OMSVGGElement, OMSVGImageElement, OMSVGLineElement, OMSVGMaskElement, OMSVGPathElement, OMSVGPatternElement, OMSVGPolygonElement, OMSVGPolylineElement, OMSVGRectElement, OMSVGSetElement, OMSVGSVGElement, OMSVGSwitchElement, OMSVGTextContentElement, OMSVGTextElement, OMSVGTextPathElement, OMSVGTextPositioningElement, OMSVGTRefElement, OMSVGTSpanElement, OMSVGUseElement

public interface ISVGTests

Interface ISVGTests defines an interface which applies to all elements which have attributes getRequiredFeatures(), getRequiredExtensions() and getSystemLanguage().


Method Summary
 OMSVGStringList getRequiredExtensions()
          Corresponds to attribute getRequiredExtensions() on the given element.
 OMSVGStringList getRequiredFeatures()
          Corresponds to attribute getRequiredFeatures() on the given element.
 OMSVGStringList getSystemLanguage()
          Corresponds to attribute getSystemLanguage() on the given element.
 boolean hasExtension(String extension)
          Returns true if the user agent supports the given extension, specified by a URI.
 

Method Detail

getRequiredFeatures

OMSVGStringList getRequiredFeatures()
Corresponds to attribute getRequiredFeatures() on the given element.


getRequiredExtensions

OMSVGStringList getRequiredExtensions()
Corresponds to attribute getRequiredExtensions() on the given element.


getSystemLanguage

OMSVGStringList getSystemLanguage()
Corresponds to attribute getSystemLanguage() on the given element.


hasExtension

boolean hasExtension(String extension)
Returns true if the user agent supports the given extension, specified by a URI.

Parameters:
extension - The name of the extension, expressed as a URI.
Returns:
True or false, depending on whether the given extension is supported.


Copyright © 2012. All Rights Reserved.