- All Known Subinterfaces:
SVGAElement,SVGAltGlyphDefElement,SVGAltGlyphElement,SVGAltGlyphItemElement,SVGAnimateColorElement,SVGAnimateElement,SVGAnimateMotionElement,SVGAnimateTransformElement,SVGAnimationElement,SVGCircleElement,SVGClipPathElement,SVGColorProfileElement,SVGComponentTransferFunctionElement,SVGCursorElement,SVGDefinitionSrcElement,SVGDefsElement,SVGDescElement,SVGEllipseElement,SVGFEBlendElement,SVGFEColorMatrixElement,SVGFEComponentTransferElement,SVGFECompositeElement,SVGFEConvolveMatrixElement,SVGFEDiffuseLightingElement,SVGFEDisplacementMapElement,SVGFEDistantLightElement,SVGFEFloodElement,SVGFEFuncAElement,SVGFEFuncBElement,SVGFEFuncGElement,SVGFEFuncRElement,SVGFEGaussianBlurElement,SVGFEImageElement,SVGFEMergeElement,SVGFEMergeNodeElement,SVGFEMorphologyElement,SVGFEOffsetElement,SVGFEPointLightElement,SVGFESpecularLightingElement,SVGFESpotLightElement,SVGFETileElement,SVGFETurbulenceElement,SVGFilterElement,SVGFontElement,SVGFontFaceElement,SVGFontFaceFormatElement,SVGFontFaceNameElement,SVGFontFaceSrcElement,SVGFontFaceUriElement,SVGForeignObjectElement,SVGGElement,SVGGeometryElement,SVGGlyphElement,SVGGlyphRefElement,SVGGradientElement,SVGGraphicsElement,SVGHKernElement,SVGImageElement,SVGLinearGradientElement,SVGLineElement,SVGMarkerElement,SVGMaskElement,SVGMetadataElement,SVGMissingGlyphElement,SVGMPathElement,SVGPathElement,SVGPatternElement,SVGPolygonElement,SVGPolylineElement,SVGRadialGradientElement,SVGRectElement,SVGScriptElement,SVGSetElement,SVGStopElement,SVGStyleElement,SVGSVGElement,SVGSwitchElement,SVGSymbolElement,SVGTextContentElement,SVGTextElement,SVGTextPathElement,SVGTextPositioningElement,SVGTitleElement,SVGTRefElement,SVGTSpanElement,SVGUseElement,SVGViewElement,SVGVKernElement
- All Known Implementing Classes:
BindableElement,ColorSwitchElement,EchoSVGHistogramNormalizationElement,EchoSVGRegularPolygonElement,EchoSVGStarElement,ExtensionElement,FlowDivElement,FlowLineElement,FlowParaElement,FlowRegionBreakElement,FlowRegionElement,FlowSpanElement,FlowTextElement,GraphicsExtensionElement,PrefixableStylableExtensionElement,StylableExtensionElement,SVGDescriptiveElement,SVGGraphicsElement,SVGOMAElement,SVGOMAltGlyphDefElement,SVGOMAltGlyphElement,SVGOMAltGlyphItemElement,SVGOMAnimateColorElement,SVGOMAnimateElement,SVGOMAnimateMotionElement,SVGOMAnimateTransformElement,SVGOMAnimationElement,SVGOMCircleElement,SVGOMClipPathElement,SVGOMComponentTransferFunctionElement,SVGOMCursorElement,SVGOMDefinitionSrcElement,SVGOMDefsElement,SVGOMDescElement,SVGOMElement,SVGOMEllipseElement,SVGOMFEBlendElement,SVGOMFEColorMatrixElement,SVGOMFEComponentTransferElement,SVGOMFECompositeElement,SVGOMFEConvolveMatrixElement,SVGOMFEDiffuseLightingElement,SVGOMFEDisplacementMapElement,SVGOMFEDistantLightElement,SVGOMFEFloodElement,SVGOMFEFuncAElement,SVGOMFEFuncBElement,SVGOMFEFuncGElement,SVGOMFEFuncRElement,SVGOMFEGaussianBlurElement,SVGOMFEImageElement,SVGOMFEMergeElement,SVGOMFEMergeNodeElement,SVGOMFEMorphologyElement,SVGOMFEOffsetElement,SVGOMFEPointLightElement,SVGOMFESpecularLightingElement,SVGOMFESpotLightElement,SVGOMFETileElement,SVGOMFETurbulenceElement,SVGOMFilterElement,SVGOMFilterPrimitiveStandardAttributes,SVGOMFlowDivElement,SVGOMFlowLineElement,SVGOMFlowParaElement,SVGOMFlowRegionBreakElement,SVGOMFlowRegionElement,SVGOMFlowRegionExcludeElement,SVGOMFlowRootElement,SVGOMFlowSpanElement,SVGOMFontElement,SVGOMFontFaceElement,SVGOMFontFaceFormatElement,SVGOMFontFaceNameElement,SVGOMFontFaceSrcElement,SVGOMFontFaceUriElement,SVGOMForeignObjectElement,SVGOMGElement,SVGOMGlyphElement,SVGOMGlyphRefElement,SVGOMGradientElement,SVGOMHandlerElement,SVGOMHKernElement,SVGOMImageElement,SVGOMLinearGradientElement,SVGOMLineElement,SVGOMMarkerElement,SVGOMMaskElement,SVGOMMetadataElement,SVGOMMissingGlyphElement,SVGOMMPathElement,SVGOMMultiImageElement,SVGOMPathElement,SVGOMPatternElement,SVGOMPolygonElement,SVGOMPolylineElement,SVGOMRadialGradientElement,SVGOMRectElement,SVGOMScriptElement,SVGOMSetElement,SVGOMSolidColorElement,SVGOMStopElement,SVGOMStyleElement,SVGOMSubImageElement,SVGOMSubImageRefElement,SVGOMSVGElement,SVGOMSwitchElement,SVGOMSymbolElement,SVGOMTextContentElement,SVGOMTextElement,SVGOMTextPathElement,SVGOMTextPositioningElement,SVGOMTitleElement,SVGOMToBeImplementedElement,SVGOMTRefElement,SVGOMTSpanElement,SVGOMURIReferenceElement,SVGOMUseElement,SVGOMViewElement,SVGOMVKernElement,SVGPointShapeElement,SVGStylableElement,SVGURIReferenceGraphicsElement,SVGURIReferenceTextPositioningElement,XBLOMContentElement,XBLOMDefinitionElement,XBLOMElement,XBLOMHandlerGroupElement,XBLOMImportElement,XBLOMShadowTreeElement,XBLOMTemplateElement,XBLOMXBLElement
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets theidcontent attribute.Gets the nearest ancestorsvgelement.Get the element that provides the SVG viewport for this element.voidSets theidcontent attribute.voidsetXMLbase(String xmlbase) Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Method Details
-
getId
String getId()Gets theidcontent attribute.- Returns:
- the value of the
idattribute, or the empty string if none.
-
setId
Sets theidcontent attribute.- Parameters:
id- the value of theidattribute.- Throws:
DOMException
-
getXMLbase
String getXMLbase() -
setXMLbase
- Throws:
DOMException
-
getOwnerSVGElement
SVGSVGElement getOwnerSVGElement()Gets the nearest ancestorsvgelement.- Returns:
- the nearest ancestor
svgelement, ornullif the current element is the outermostsvgelement.
-
getViewportElement
SVGElement getViewportElement()Get the element that provides the SVG viewport for this element.- Returns:
- the nearest ancestor element that establishes an SVG viewport, or
nullif the current element is the outermost svg element.
-