Schnittstelle SvgMetadata
public interface SvgMetadata
Describes a single custom element to write inside SVG
<metadata> (see SvgMetadataProvider). For namespace-qualified output, supply both getPrefix() and
getNamespaceUri(); the serializer emits xmlns:prefix="..." on that element. If only a prefix is set without a URI, the prefix may be unbound unless declared elsewhere in the
document.- Seit:
- 26.4
-
Methodenübersicht
Modifikator und TypMethodeBeschreibung@Nonnull StringLocal name of the metadata element (without prefix).@Nullable StringNamespace URI bound togetPrefix()for this element, ornullif noxmlnsshould be written for the prefix on this tag.@Nullable StringXML namespace prefix for the element, ornullfor no prefix (local name only).@Nonnull StringgetValue()Text content of the element (escaped as XML character data).
-
Methodendetails
-
getPrefix
@Nullable String getPrefix()XML namespace prefix for the element, ornullfor no prefix (local name only).- Gibt zurück:
- the prefix, or
null - Seit:
- 26.4
-
getLocalName
@Nonnull String getLocalName()Local name of the metadata element (without prefix).- Gibt zurück:
- non-null element local name
- Seit:
- 26.4
-
getNamespaceUri
@Nullable String getNamespaceUri()Namespace URI bound togetPrefix()for this element, ornullif noxmlnsshould be written for the prefix on this tag.- Gibt zurück:
- the namespace URI, or
null - Seit:
- 26.4
-
getValue
@Nonnull String getValue()Text content of the element (escaped as XML character data).- Gibt zurück:
- non-null text body
- Seit:
- 26.4
-