C# 클래스 NVelocity.Runtime.Visitor.VMReferenceMungeVisitor

This class is a visitor used by the VM proxy to change the literal representation of a reference in a VM. The reason is to preserve the 'render literal if null' behavior w/o making the VMProxy stuff more complicated than it is already.
상속: BaseVisitor
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity 1 사용 예제들

공개 메소드들

메소드 설명
VMReferenceMungeVisitor ( Hashtable map ) : System

CTOR - takes a map of args to reference

Visit ( ASTReference node, Object data ) : Object

Visitor method - if the literal is right, will set the literal in the ASTReference node

메소드 상세

VMReferenceMungeVisitor() 공개 메소드

CTOR - takes a map of args to reference
public VMReferenceMungeVisitor ( Hashtable map ) : System
map System.Collections.Hashtable
리턴 System

Visit() 공개 메소드

Visitor method - if the literal is right, will set the literal in the ASTReference node
public Visit ( ASTReference node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTReference ASTReference to work on
data Object Object to pass down from caller
리턴 Object