public class FilterChain extends Object
This class is refactored from the MetadataParser in order to test the filtering of w3c elements in isolation.
Constructor and Description |
---|
FilterChain() |
Modifier and Type | Method and Description |
---|---|
void |
traverseAndFilter(org.w3c.dom.traversal.TreeWalker walker,
String indent,
Metadata metadata,
StringBuilder sb)
Traverses the DOM and applies the filters for each visited node.
|
public void traverseAndFilter(org.w3c.dom.traversal.TreeWalker walker, String indent, Metadata metadata, StringBuilder sb)
walker
- indent
- sb
- Optional StringBuilder
used to track progress for logging purposes.Copyright © 2021 JBoss by Red Hat. All rights reserved.