DOMTreeMapDummy<T> class

A Dummy DOMTreeMap, that won't map anything.

Inheritance

Constructors

DOMTreeMapDummy(DOMGenerator<T> domGenerator)

Properties

domGenerator DOMGenerator<T>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mappedDOMNodes Iterable<DOMNode>
no setterinherited
mappedElements Iterable<T>
no setterinherited
rootDOMNode DOMNode?
The root DOMNode of this tree.
no setterinherited
rootElement → T?
The root element T of this tree.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMappedDOMNode(DOMNode? domNode) DOMNode?
Returns domNode or recursively a domNode.parent that is mapped.
inherited
asMappedElement(T? element) → T?
Returns element or recursively a element.parent that is mapped.
inherited
duplicateByDOMNode(DOMNode? domNode) DOMNodeMapping<T>?
Duplicates domNode in the parent children list. Also performs on mapped element.
override
duplicateByElement(T? element) DOMNodeMapping<T>?
Duplicates element in the parent children list. Also performs on mapped DOMNode.
override
emptyByDOMNode(DOMNode? domNode) bool
Empties domNode children nodes. Also performs on mapped element.
override
emptyByElement(T? element) bool
Empties element children nodes. Also performs on mapped DOMNode.
override
generate(DOMGenerator<T> domGenerator, DOMNode root, {T? parent, DOMContext<T>? context}) → T?
inherited
getMappedDOMNode(T? element, {bool checkParents = false}) DOMNode?
Returns the mapped DOMNode associated with element.
inherited
getMappedElement(DOMNode? domNode, {bool checkParents = false}) → T?
Returns the mapped element T associated with domNode.
inherited
getRuntimeNode(DOMNode? domNode) DOMNodeRuntime<T>?
Returns a DOMNodeRuntime of domNode.
inherited
isMappedDOMNode(DOMNode? domNode) bool
Returns true if domNode is mapped by this instance.
override
isMappedElement(T? element) bool
Returns true if element is mapped by this instance.
override
map(DOMNode domNode, T element, {DOMContext<T>? context, bool allowOverwrite = false}) → void
Maps in this instance the pair domNode and element.
override
mapTree(DOMNode domRoot, T root) bool
inherited
matchesMapping(DOMNode domNode, T node) bool
Returns true if the mapping for domNode matches node.
override
mergeNearNodes(DOMNode domNode1, DOMNode domNode2, {bool onlyCompatibles = false}) DOMNodeMapping<T>?
override
mergeNearStringNodes(DOMNode domNode1, DOMNode domNode2, {bool onlyCompatibles = false}) DOMNodeMapping<T>?
override
moveDownByDOMNode(DOMNode? domNode) bool
Moves domNode down in the parent children list. Also performs on mapped element.
override
moveDownByElement(T? element) bool
Moves element down in the parent children list. Also performs on mapped DOMNode.
override
moveUpByDOMNode(DOMNode? domNode) bool
Moves domNode up in the parent children list. Also performs on mapped element.
override
moveUpByElement(T? element) bool
Moves element up in the parent children list. Also performs on mapped DOMNode.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryElement(String query, {DOMContext? domContext, bool buildTemplates = false}) String?
inherited
removeByDOMNode(DOMNode? domNode) DOMNodeMapping<T>?
Removes domNode from parent. Also performs on mapped element.
override
removeByElement(T? element) DOMNodeMapping<T>?
Removes element from parent. Also performs on mapped DOMNode.
override
setRoot(DOMNode rootDOMNode, T? rootElement) → void
override
toString() String
A string representation of this object.
inherited
unmap(DOMNode domNode, T element) bool
Unmap from this instance the pair domNode and element.
override

Operators

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