메소드 | 설명 | |
---|---|---|
AbstractComponentDirective ( IViewComponentFactory viewComponentFactory, IViewEngine viewEngine ) : NVelocity.Runtime.Parser.Node |
Initializes a new instance of the AbstractComponentDirective class.
|
|
Init ( IRuntimeServices rs, NVelocity.Context.IInternalContextAdapter context, INode node ) : void | ||
Render ( NVelocity.Context.IInternalContextAdapter context, |
||
RenderComponentView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, |
메소드 | 설명 | |
---|---|---|
CreateParameters ( NVelocity.Context.IInternalContextAdapter context, INode node ) : IDictionary | ||
ProcessSubSections ( |
메소드 | 설명 | |
---|---|---|
CheckTemplateStack ( NVelocity.Context.IInternalContextAdapter context ) : void | ||
Evaluate ( NVelocity.Runtime.Parser.Node.SimpleNode inlineNode, NVelocity.Context.IInternalContextAdapter context ) : object | ||
GetTemplate ( String viewToRender, String encoding ) : NVelocity.Template | ||
ProcessFirstParam ( INode node, NVelocity.Context.IInternalContextAdapter context, int childrenCount ) : IDictionary |
Processes the first param. first param can either be the literal string 'with' which means the user is using the syntax #blockcomponent(ComponentName with "param1=value1" "param2=value2") or it could be a dictionary string like: #blockcomponent(ComponentName "#{ param1='value1', param2='value2' }") anything different than that will throw an exception
|
|
ProcessRemainingParams ( int childrenCount, INode node, NVelocity.Context.IInternalContextAdapter context ) : IDictionary | ||
RenderView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, NVelocity.Template template, |
||
SetUpEncoding ( NVelocity.Context.IInternalContextAdapter context ) : String |
public AbstractComponentDirective ( IViewComponentFactory viewComponentFactory, IViewEngine viewEngine ) : NVelocity.Runtime.Parser.Node | ||
viewComponentFactory | IViewComponentFactory | The view component factory. |
viewEngine | IViewEngine | The view engine instance |
리턴 | NVelocity.Runtime.Parser.Node |
protected CreateParameters ( NVelocity.Context.IInternalContextAdapter context, INode node ) : IDictionary | ||
context | NVelocity.Context.IInternalContextAdapter | |
node | INode | |
리턴 | IDictionary |
public Init ( IRuntimeServices rs, NVelocity.Context.IInternalContextAdapter context, INode node ) : void | ||
rs | IRuntimeServices | |
context | NVelocity.Context.IInternalContextAdapter | |
node | INode | |
리턴 | void |
protected ProcessSubSections ( |
||
component | ||
contextAdapter | NVelocityViewContextAdapter | |
리턴 | void |
public Render ( NVelocity.Context.IInternalContextAdapter context, |
||
context | NVelocity.Context.IInternalContextAdapter | |
writer | ||
node | INode | |
리턴 | bool |
public RenderComponentView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, |
||
context | NVelocity.Context.IInternalContextAdapter | |
viewToRender | String | |
writer | ||
contextAdapter | NVelocityViewContextAdapter | |
리턴 | bool |