- All Known Subinterfaces:
SVGAElement,SVGAltGlyphElement,SVGColorProfileElement,SVGCursorElement,SVGFEImageElement,SVGFilterElement,SVGGlyphRefElement,SVGGradientElement,SVGImageElement,SVGLinearGradientElement,SVGMPathElement,SVGPatternElement,SVGRadialGradientElement,SVGScriptElement,SVGTextPathElement,SVGTRefElement,SVGUseElement
public interface SVGURIReference
Represents the
href attribute and the deprecated
xlink:href attribute.-
Method Summary
Modifier and TypeMethodDescriptiongetHref()Gets the value of thehrefattribute and, on elements that are defined to support it, the deprecatedxlink:hrefattribute.
-
Method Details
-
getHref
SVGAnimatedString getHref()Gets the value of thehrefattribute and, on elements that are defined to support it, the deprecatedxlink:hrefattribute.- Returns:
- the
hrefattribute if exists, or the deprecatedxlink:hrefattribute if exists and the element is defined to support it,nullotherwise.
-