public class ClassifyingNodeTracker extends Object implements NodeTracker
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull com.vladsch.flexmark.util.collection.ClassificationBag<Class<?>,Node> |
nodeClassifier |
| Constructor and Description |
|---|
ClassifyingNodeTracker(@Nullable NodeTracker host,
@NotNull Map<Class<? extends Node>,Set<Class<?>>> exclusionMap) |
| Modifier and Type | Method and Description |
|---|---|
<X> @NotNull com.vladsch.flexmark.util.collection.iteration.ReversibleIterable<X> |
getCategoryItems(@NotNull Class<? extends X> nodeClass,
@NotNull Set<Class<?>> classes) |
@NotNull com.vladsch.flexmark.util.collection.OrderedMap<Class<?>,Set<Class<?>>> |
getExclusionMap() |
@NotNull com.vladsch.flexmark.util.collection.OrderedSet<Class<?>> |
getExclusionSet() |
@NotNull com.vladsch.flexmark.util.collection.OrderedSet<Node> |
getItems() |
@NotNull HashMap<Integer,BitSet> |
getNodeAncestryMap() |
@NotNull com.vladsch.flexmark.util.collection.ClassificationBag<Class<?>,Node> |
getNodeClassifier() |
void |
nodeAdded(@NotNull Node node) |
void |
nodeAddedWithChildren(@NotNull Node node) |
void |
nodeAddedWithDescendants(@NotNull Node node) |
void |
nodeRemoved(@NotNull Node node) |
void |
nodeRemovedWithChildren(@NotNull Node node) |
void |
nodeRemovedWithDescendants(@NotNull Node node) |
@NotNull public @NotNull com.vladsch.flexmark.util.collection.OrderedMap<Class<?>,Set<Class<?>>> getExclusionMap()
@NotNull public @NotNull com.vladsch.flexmark.util.collection.OrderedSet<Class<?>> getExclusionSet()
@NotNull public @NotNull com.vladsch.flexmark.util.collection.ClassificationBag<Class<?>,Node> getNodeClassifier()
public void nodeAdded(@NotNull
@NotNull Node node)
nodeAdded in interface NodeTrackerpublic void nodeAddedWithChildren(@NotNull
@NotNull Node node)
nodeAddedWithChildren in interface NodeTrackerpublic void nodeAddedWithDescendants(@NotNull
@NotNull Node node)
nodeAddedWithDescendants in interface NodeTrackerpublic void nodeRemoved(@NotNull
@NotNull Node node)
nodeRemoved in interface NodeTrackerpublic void nodeRemovedWithChildren(@NotNull
@NotNull Node node)
nodeRemovedWithChildren in interface NodeTrackerpublic void nodeRemovedWithDescendants(@NotNull
@NotNull Node node)
nodeRemovedWithDescendants in interface NodeTracker@NotNull public @NotNull com.vladsch.flexmark.util.collection.OrderedSet<Node> getItems()
Copyright © 2020. All rights reserved.