KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > xml > driver > diff > HunkPrintVisitor


1 package org.enhydra.xml.driver.diff;
2
3 public class HunkPrintVisitor extends HunkVisitor {
4
5     public HunkPrintVisitor() {
6     }
7
8     public void visitHunkAdd(HunkAdd hunk) {
9     System.out.print(hunk.convert());
10     }
11
12     public void visitHunkChange(HunkChange hunk) {
13     System.out.print(hunk.convert());
14     }
15
16     public void visitHunkDel(HunkDel hunk) {
17     System.out.print(hunk.convert());
18     }
19     
20 }
21
Popular Tags