XmlEntity class
A DTD Entity Declaration.
- Inheritance
-
- Object
- XmlNode
- XmlNodeWithAttributes
- XmlEntity
- Annotations
-
- @immutable
Constructors
Properties
-
externalEntities
→ List<
XmlEntity> ? -
The parsed external DTD elements, if they were loaded.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isParameter → bool
-
Whether this entity is a parameter entity.
final
- isPublic → bool
-
true
if thePUBLIC
flag is declared.final - isSystem → bool
-
true
if theSYSTEM
flag is declared.final - name → String
-
The name of the entity.
final
- ndata → String?
-
NDATA defines type of data the external
entity should be treated as.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The unparsed text value of the entity.
final
Methods
-
copyWith(
{String? name, String? value, bool? isSystem, bool? isPublic, List< XmlEntity> ? externalEntities, String? ndata, bool copyNull = false}) → XmlEntity - Copies this entity with the provided values.
-
loadExternalEntities(
) → Future< XmlEntity?> -
Attempts to load the external entity if there is one and
if ndata is
null
. If ndata is provided, the file is assumed to be of another data type that can't be parsed by this library. -
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