XmlEtd class

An Element Type Declaration.

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

Inheritance
Annotations
  • @immutable

Constructors

XmlEtd(String name, String children)
An Element Type Declaration.
const

Properties

children String
The raw and unparsed text value of the ETD.
final
hashCode int
The hash code for this object.
no setteroverride
name String
The name of the element this ETD pertains to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

from(String string, {bool trimWhitespace = false}) XmlEtd?
Returns the first DTD Element Type Declaration found in string. string must not be null.
override
parseString(String string, {bool trimWhitespace = true, int start = 0, int? stop}) List<XmlEtd>?
Returns a list of every DTD Element Type Declaration found in string. string must not be null.
override