DOMGeneratorDartHTMLImpl class

DOMGenerator based in dart:html.

Inheritance

Constructors

DOMGeneratorDartHTMLImpl()

Properties

domActionExecutor DOMActionExecutor<Node>?
getter/setter pairinherited
domContext DOMContext<Node>?
getter/setter pairinherited
generatedHTMLTrees List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
populateGeneratedHTMLTrees bool
getter/setter pairinherited
registeredElementsGenerators Map<String, ElementGenerator<Node>>
no setterinherited
registeredElementsGeneratorsLength int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceResolver String Function(String url)?
Function used by resolveSource.
getter/setter pairinherited
viewport Viewport?
no setterinherited

Methods

addChildToElement(Node? parent, Node? child) bool
override
addExternalElementToElement(Node element, Object? externalElement) List<Node>?
override
appendElementText(Node element, String? text) Text?
override
appendElementTextNode(Node element, TextNode? textNode) Node?
inherited
attachFutureElement(DOMElement? domParent, Node? parent, DOMNode domElement, Node? templateElement, Object? futureElementResolved, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) → void
inherited
build(DOMElement? domParent, Node? parent, DOMNode domNode, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
buildDOMAsyncElement(DOMElement? domParent, Node? parent, DOMAsync domElement, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
buildElement(DOMElement? domParent, Node? parent, DOMElement domElement, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node
inherited
buildElementHTML(Node element) String?
override
buildExternalElement(DOMElement? domParent, Node? parent, ExternalElementNode domElement, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
buildNodes(DOMElement? domParent, Node? parent, List<DOMNode>? domNodes, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) List<Node>
inherited
buildTemplate(DOMElement? domParent, Node? parent, TemplateNode domNode, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
buildText(DOMElement? domParent, Node? parent, TextNode domNode, DOMTreeMap<Node> treeMap) Node?
inherited
cancelEvent(Object? event, {bool stopImmediatePropagation = false}) bool
override
canHandleExternalElement(Object? externalElement) bool
override
castToNodes(List list) List<Node>
inherited
clearIgnoredAttributesEquivalence() → void
inherited
containsNode(Node parent, Node? node) bool
override
createDOMEvent(DOMTreeMap<Node> treeMap, Object? event) DOMEvent?
override
createDOMMouseEvent(DOMTreeMap<Node> treeMap, Object? event) DOMMouseEvent?
override
createDOMNodeRuntime(DOMTreeMap<Node> treeMap, DOMNode? domNode, Node node) DOMNodeRuntime<Node>
override
createDOMTreeMap() DOMTreeMap<Node>
inherited
createElement(String? tag, [DOMElement? domElement]) Element?
override
createGenericDOMTreeMap() DOMTreeMap<Node>
inherited
createTextNode(Object? text) Text?
override
createWithRegisteredElementGenerator(DOMElement? domParent, Node? parent, DOMElement domElement, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
finalizeGeneratedTree(DOMTreeMap<Node> treeMap) → void
inherited
generate(DOMNode root, {DOMTreeMap<Node>? treeMap, Node? parent, DOMContext<Node>? context, bool finalizeTree = true, bool setTreeMapRoot = true}) Node?
Generates an element T using root.
inherited
generateDOMAsyncElement(DOMElement? domParent, Node? parent, DOMAsync domAsync, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
generateFromHTML(String htmlRoot, {DOMTreeMap<Node>? treeMap, DOMElement? domParent, Node? parent, DOMContext<Node>? context, bool finalizeTree = true, bool setTreeMapRoot = true}) Node?
Same as generate, but parses htmlRoot first.
inherited
generateFutureElement(DOMElement? domParent, Node? parent, ExternalElementNode domElement, Future future, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Node?
inherited
generateMapped(DOMElement root, {Node? parent, DOMContext<Node>? context}) DOMTreeMap<Node>
Same as generate, but returns a DOMTreeMap, that contains all mapping table fo generated elements.
inherited
generateNodes(List<DOMNode> nodes, {DOMContext<Node>? context}) List<Node>
inherited
generateWithRoot(DOMElement? domRoot, Node? rootElement, List<DOMNode> nodes, {DOMTreeMap<Node>? treeMap, Node? rootParent, DOMContext<Node>? context, bool finalizeTree = true, bool setTreeMapRoot = true}) Node?
Same as generate, but generates nodes inside a preexistent rootElement.
inherited
getAttribute(Node element, String attrName) String?
override
getDOMNodeText(TextNode domNode) String
inherited
getElementAttributes(Node? element) Map<String, String>?
override
getElementNodes(Node? element) List<Node>
override
getElementOuterHTML(Node? element) String?
override
getElementTag(Node? element) String?
override
getElementValue(Node? element) String?
override
getIgnoredAttributesEquivalence() List<String>
inherited
getNodeParent(Node? node) Node?
override
getNodeParentsUntilRoot(Node? node) List<Node>
inherited
getNodeText(Node? node) String?
override
ignoreAttributeEquivalence(String attributeName) → void
inherited
isElementGeneratorTag(String? tag) bool
inherited
isElementNode(Node? node) bool
inherited
isEquivalentNode(DOMNode domNode, Node node) bool
override
isEquivalentNodeType(DOMNode domNode, Node node) bool
override
isIgnoreAttributeEquivalence(String attributeName) bool
inherited
isNodeInDOM(Node? node) bool
inherited
isTextNode(Node? node) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onElementCreated(DOMTreeMap<Node> treeMap, DOMNode domElement, Node element, DOMContext<Node>? context) → void
inherited
registerElementGenerator(ElementGenerator<Node> elementGenerator) bool
inherited
registerElementGeneratorFrom(DOMGenerator<Node> otherGenerator) bool
inherited
registerEventListeners(DOMTreeMap<Node> treeMap, DOMElement domElement, Node element, DOMContext<Node>? context) → void
override
removeChildFromElement(Node parent, Node? child) bool
override
removeIgnoredAttributeEquivalence(String attributeName) bool
inherited
replaceChildElement(Node parent, Node? child1, List<Node>? child2) bool
override
replaceElement(Node? child1, List<Node>? child2) bool
inherited
reset() → void
Resets instances and generated tree.
inherited
resolveActionAttribute(DOMTreeMap<Node> treeMap, DOMElement domElement, Node element, DOMContext<Node>? context) → void
inherited
resolveFutureElement(DOMElement? domParent, Node? parent, DOMNode domElement, Node? templateElement, Object? futureResult, DOMTreeMap<Node> treeMap, DOMContext<Node>? context) Object?
inherited
resolveSource(String url) String
Resolves any source attribute.
inherited
revert(DOMTreeMap<Node>? treeMap, Node? node) DOMNode?
Reverts node to a DOMNode.
inherited
revertElementAttributes(Node? element, Map<String, String>? attributes) Map<String, String>?
inherited
setAttribute(Node element, String attrName, String? attrVal) → void
override
setAttributes(DOMElement domElement, Node element, DOMTreeMap<Node> treeMap, {bool preserveClass = false, bool preserveStyle = false}) → void
inherited
toElements(Object? elements) List<Node>?
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited