XmlParserDefinition class
XML parser that defines standard actions to the the XML tree.
- Inheritance
-
- Object
- XmlProductionDefinition
- XmlGrammarDefinition<
XmlNode, XmlName> - XmlParserDefinition
- Annotations
-
- @Deprecated('Avoid directly depending on the XML grammar')
Constructors
- XmlParserDefinition(XmlEntityMapping entityMapping)
Properties
- entityMapping → XmlEntityMapping
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attribute(
) → Parser -
inherited
-
attributes(
) → Parser -
inherited
-
attributeValue(
) → Parser -
inherited
-
attributeValueDouble(
) → Parser -
inherited
-
attributeValueSingle(
) → Parser -
inherited
-
build<
T> ({Function? start, List< Object> arguments = const []}) → Parser<T> -
Builds a composite parser from this definition.
inherited
-
buildFrom<
T> (Parser< T> parser) → Parser<T> -
Builds a composite parser starting at the specified production.
inherited
-
cdata(
) → Parser -
inherited
-
characterData(
) → Parser -
inherited
-
comment(
) → Parser -
inherited
-
content(
) → Parser -
inherited
-
createAttribute(
XmlName name, String text, XmlAttributeType type) → XmlAttribute -
override
-
createCDATA(
String text) → XmlCDATA -
override
-
createComment(
String text) → XmlComment -
override
-
createDeclaration(
Iterable< XmlNode> attributes) → XmlDeclaration -
override
-
createDoctype(
String text) → XmlDoctype -
override
-
createDocument(
Iterable< XmlNode> children) → XmlDocument -
override
-
createDocumentFragment(
Iterable< XmlNode> children) → XmlNode -
override
-
createElement(
XmlName name, Iterable< XmlNode> attributes, Iterable<XmlNode> children, [bool isSelfClosing = true]) → XmlElement -
override
-
createProcessing(
String target, String text) → XmlProcessing -
override
-
createQualified(
String name) → XmlName -
override
-
createText(
String text) → XmlText -
override
-
declaration(
) → Parser -
inherited
-
doctype(
) → Parser -
inherited
-
document(
) → Parser -
inherited
-
documentFragment(
) → Parser -
inherited
-
documentFragmentContent(
) → Parser -
inherited
-
element(
) → Parser -
inherited
-
misc(
) → Parser -
inherited
-
nameChar(
) → Parser -
inherited
-
nameStartChar(
) → Parser -
inherited
-
nameToken(
) → Parser -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processing(
) → Parser -
inherited
-
qualified(
) → Parser -
inherited
-
space(
) → Parser -
inherited
-
spaceOptional(
) → Parser -
inherited
-
spaceText(
) → Parser -
inherited
-
start(
) → Parser -
The starting production of this definition.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited