kr.co.hit.live.profile.visitor
Class PrintWriterVisitor

java.lang.Object
  extended by kr.co.hit.live.profile.visitor.PrintWriterVisitor
All Implemented Interfaces:
ProfileNodeVisitor

public class PrintWriterVisitor
extends Object
implements ProfileNodeVisitor

ProfileNode의 탐색 결과를 PrintWriter 객체를 통하여 출력하는 ProfileNodeVisitor의 구현 클래스이다.

Since:
4.0
Author:
김형도

Constructor Summary
PrintWriterVisitor(PrintWriter writer)
          생성자이다.
 
Method Summary
 void afterVisit(ProfileNode node)
           
 void beforeVisit(ProfileNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintWriterVisitor

public PrintWriterVisitor(PrintWriter writer)
생성자이다. PrintWriter 객체를 전달한다.

Parameters:
log - 로그 출력용 로그 객체
maxDepth - 출력 대상이 되는 객체의 최대 깊이
Method Detail

beforeVisit

public void beforeVisit(ProfileNode node)
Specified by:
beforeVisit in interface ProfileNodeVisitor

afterVisit

public void afterVisit(ProfileNode node)
Specified by:
afterVisit in interface ProfileNodeVisitor


Copyright © 2014. All Rights Reserved.