* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.crawler.kiss.guide;
-
-
/**
- * Abstract visitor of the tv guide with default looping behavior.
+ * Abstract visitor of the tv guide with default looping behavior.
*/
public abstract class AbstractVisitor implements Visitor {
-
+
/**
- * Constructs the visitor.
- *
+ * Constructs the visitor.
+ *
*/
- protected AbstractVisitor() {
+ protected AbstractVisitor() {
// Empty
}
/**
- * Visits the channel by visiting all programs of the channel.
- * @param aChannel Channel to visit.
+ * Visits the channel by visiting all programs of the channel.
+ *
+ * @param aChannel
+ * Channel to visit.
*/
public void visitChannel(Channel aChannel) {
- for (Program program: aChannel.getPrograms() ) {
- program.accept(this);
+ for (Program program : aChannel.getPrograms()) {
+ program.accept(this);
}
}
/**
- * Visits the TV guide by visiting all channels of the guide.
- * @param aGuide TV guide to visit.
+ * Visits the TV guide by visiting all channels of the guide.
+ *
+ * @param aGuide
+ * TV guide to visit.
*/
- public void visitTvGuide(TVGuide aGuide) {
- for (Channel channel: aGuide.getChannels()) {
+ public void visitTvGuide(TVGuide aGuide) {
+ for (Channel channel : aGuide.getChannels()) {
channel.accept(this);
}
}