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 Typ
    Methode
    Beschreibung
    @Nonnull String
    Local name of the metadata element (without prefix).
    @Nullable String
    Namespace URI bound to getPrefix() for this element, or null if no xmlns should be written for the prefix on this tag.
    @Nullable String
    XML namespace prefix for the element, or null for no prefix (local name only).
    @Nonnull String
    Text content of the element (escaped as XML character data).
  • Methodendetails

    • getPrefix

      @Nullable String getPrefix()
      XML namespace prefix for the element, or null for 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 to getPrefix() for this element, or null if no xmlns should 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