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

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

public class ValueObjectVisitor
extends Object
implements ProfileNodeVisitor

ProfileNode의 탐색결과를 주어진 ValueObject 객체에 담는 ProfileNodeVisitor의 구현 클래스이다. ValueObject에 담기는 내용은 다음과 같다.

Since:
4.0
Author:
김형도

Constructor Summary
ValueObjectVisitor(ValueObject vo, int maxDepth)
          생성자이다.
 
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

ValueObjectVisitor

public ValueObjectVisitor(ValueObject vo,
                          int maxDepth)
생성자이다. ValueObject 객체를 전달한다.

Parameters:
vo - 로그 출력용 ValueObject 객체
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.