XmlDefaultEntityMapping class
Default entity mapping for XML, HTML, and HTML5 entities.
- Inheritance
-
- Object
- XmlEntityMapping
- XmlDefaultEntityMapping
Constructors
-
XmlDefaultEntityMapping(Map<
String, String> entities) -
Custom entity mapping.
const
- XmlDefaultEntityMapping.html()
-
Minimal entity mapping of HTML character references.
const
- XmlDefaultEntityMapping.html5()
-
Extensive entity mapping of HTML5 character references.
const
- XmlDefaultEntityMapping.xml()
-
Minimal entity mapping of XML character references.
const
Properties
Methods
-
decode(
String input) → String -
Decodes a string, resolving all possible entities.
inherited
-
decodeEntity(
String input) → String? -
Decodes a single character entity, returns the decoded entity or
null
if the input is invalid.override -
encodeAttributeValue(
String input, XmlAttributeType type) → String -
Encodes a string to be serialized as XML attribute value.
override
-
encodeAttributeValueWithQuotes(
String input, XmlAttributeType type) → String -
Encodes a string to be serialized as XML attribute value together with
its corresponding quotes.
inherited
-
encodeText(
String input) → String -
Encodes a string to be serialized as XML text.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited