C# 클래스 NVelocity.Runtime.Directive.Directive

Base class for all directives used in Velocity.
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity

보호된 프로퍼티들

프로퍼티 타입 설명
runtimeServices IRuntimeServices

공개 메소드들

메소드 설명
CreateNestedDirective ( String name ) : Directive
Init ( IRuntimeServices rs, IInternalContextAdapter context, INode node ) : void

How this directive is to be initialized.

Render ( IInternalContextAdapter context, TextWriter writer, INode node ) : bool

How this directive is to be rendered

SetLocation ( int line, int column ) : void

Allows the template location to be set

SupportsNestedDirective ( String name ) : bool

메소드 상세

CreateNestedDirective() 공개 메소드

public CreateNestedDirective ( String name ) : Directive
name String
리턴 Directive

Init() 공개 메소드

How this directive is to be initialized.
public Init ( IRuntimeServices rs, IInternalContextAdapter context, INode node ) : void
rs IRuntimeServices
context IInternalContextAdapter
node INode
리턴 void

Render() 공개 추상적인 메소드

How this directive is to be rendered
public abstract Render ( IInternalContextAdapter context, TextWriter writer, INode node ) : bool
context IInternalContextAdapter
writer System.IO.TextWriter
node INode
리턴 bool

SetLocation() 공개 메소드

Allows the template location to be set
public SetLocation ( int line, int column ) : void
line int
column int
리턴 void

SupportsNestedDirective() 공개 메소드

public SupportsNestedDirective ( String name ) : bool
name String
리턴 bool

프로퍼티 상세

runtimeServices 보호되어 있는 프로퍼티

protected IRuntimeServices runtimeServices
리턴 IRuntimeServices