public abstract class AbstractResourceVisitor
extends java.lang.Object
visit(Resource)
method for each visited resource.
It decouples the actual traversal code from application code.
Concrete subclasses must implement the visit(Resource)
method.Constructor and Description |
---|
AbstractResourceVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Resource res)
Visit the given resource and all its descendants.
|
public void accept(Resource res)
res
- The resourceCopyright © 2010 - 2020 Adobe. All Rights Reserved