- All Known Subinterfaces:
SVGAElement,SVGAltGlyphElement,SVGColorProfileElement,SVGCursorElement,SVGFEImageElement,SVGFilterElement,SVGGlyphRefElement,SVGGradientElement,SVGImageElement,SVGLinearGradientElement,SVGMPathElement,SVGPatternElement,SVGRadialGradientElement,SVGScriptElement,SVGTextPathElement,SVGTRefElement,SVGUseElement
- All Known Implementing Classes:
SVGOMAElement,SVGOMAltGlyphElement,SVGOMCursorElement,SVGOMFEImageElement,SVGOMFilterElement,SVGOMGlyphRefElement,SVGOMGradientElement,SVGOMImageElement,SVGOMLinearGradientElement,SVGOMMPathElement,SVGOMPatternElement,SVGOMRadialGradientElement,SVGOMScriptElement,SVGOMTextPathElement,SVGOMTRefElement,SVGOMURIReferenceElement,SVGOMUseElement,SVGURIReferenceTextPositioningElement
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.
-