Main Content

matlab.io.xml.dom.Notation class

Package: matlab.io.xml.dom

Notation in document type definition

Description

An object of the matlab.io.xml.dom.Notation class represents a notation included in a document type definition (DTD). A notation can define the format of an image file or other file that is included in a document but not parsed. A notation can also provide a formal definition of a target of a processing instruction included in a document that conforms to the document type. Notations facilitate processing of instances of the document type.

The getNotations method of a matlab.io.xml.dom.DocumentType object returns a list of the notations in the document type as a matlab.io.xml.dom.NamedNodeMap object. Use the item method of the NamedNodeMap object to return a Notation object in the list.

Note

A Notation object inherits methods and properties from the matlab.io.xml.dom.Node class that are ineffective or cause errors when used with a Notation object. Use only the methods and properties documented on this page.

The matlab.io.xml.dom.Notation class is a handle class.

Class Attributes

ConstructOnLoad
true
HandleCompatible
true

For information on class attributes, see Class Attributes.

Properties

expand all

Public ID of this notation, specified as character vector.

Attributes:

GetAccess
public
SetAccess
immutable
Transient
true
NonCopyable
true

System ID of this notation, specified as character vector.

Attributes:

GetAccess
public
SetAccess
immutable
Transient
true
NonCopyable
true

Methods

expand all

Introduced in R2021a