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