public interface StreamingTransform
StreamingPathFilter
whenever an element matches the filter's entire
location path.
Can operate on the fully build element in arbitrary ways. The underlying
behaviour wrt. element/node-mutation and retaining/removing nodes is also
explained in nu.xom.NodeFactory#finishMakingElement(Element)
.
Modifier and Type | Method and Description |
---|---|
Nodes |
transform(Element element)
Called by the node factory of a
StreamingPathFilter whenever an
element matches the filter's entire location path. |
Nodes transform(Element element)
StreamingPathFilter
whenever an
element matches the filter's entire location path.element
- The current element (fully build, including its ancestors and
descendants) matching the entire location path.nu.xom.Builder
, replacing the
current element.