org.apache.creadur.whisker.model
public abstract class Visitor extends Object
Constructor and Description |
---|
Visitor() |
Modifier and Type | Method and Description |
---|---|
boolean |
traverseByOrganisation()
Tunes traversal, allowing a moderate traversal
without
ByOrganisation elements. |
boolean |
traversePublicDomain()
Tunes traversal, allowing public domain resources
to be ignored.
|
boolean |
traverseResource()
Tunes traversal, allowing
Resource
elements to be ignored. |
boolean |
traverseWithLicense()
Tunes traversal, allowing a shallow traversal
without
WithLicense elements. |
void |
visit(ByOrganisation byOrganisation)
Visits
ByOrganisation . |
void |
visit(Resource resource)
Visits
Resource . |
void |
visit(WithinDirectory directory)
Visits
WithinDirectory . |
void |
visit(WithLicense license)
Visits
WithLicense . |
public boolean traversePublicDomain()
public boolean traverseWithLicense()
WithLicense
elements.WithLicense
elements
should be stepped over, false when they should
be includedpublic boolean traverseByOrganisation()
ByOrganisation
elements.ByOrganisation
elements
should be stepped over, false when they should
be includedpublic boolean traverseResource()
Resource
elements to be ignored.Resource
elements
should be stepped over, false when they should
be includedpublic void visit(WithinDirectory directory)
WithinDirectory
.directory
- not nullpublic void visit(WithLicense license)
WithLicense
.license
- not nullpublic void visit(ByOrganisation byOrganisation)
ByOrganisation
.byOrganisation
- not nullCopyright © 2011-2013 Apache Software Foundation. All Rights Reserved.