XmlNotation class

A Notation Declaration, as known as an unparsed entity.

See: https://www.w3.org/TR/xml/#Notations

Inheritance
Annotations
  • @immutable

Constructors

XmlNotation({required String name, bool isSystem = false, bool isPublic = false, String? publicId, String? uri})
A notation declaration, as known as an unparsed entity.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isPublic bool
true if the PUBLIC flag is declared.
final
isSystem bool
ture if the SYSTEM flag is declared.
final
name String
The name of the notation.
final
publicId String?
A public ID may be used by the application to generate an alternative URI reference where an external notation may be found.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The location of the external notation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormattedString({int nestingLevel = 0, String indent = '\t', bool doubleQuotes = true}) String
Returns this node as a formatted string.
inherited
toString({bool doubleQuotes = true}) String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override

Static Methods

from(String string, {bool trimWhitespace = true}) XmlNotation?
Returns the first Notation Declaration found in string.
override
parseString(String string, {bool trimWhitespace = true, int start = 0, int? stop}) List<XmlNotation>?
Returns all Notation Declarations found in string.
override