|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
A very simple directive that leverages the Node.literal() to grab the literal rendition of a node. We basically grab the literal value on init(), then repeatedly use that during render(). *
Fields inherited from class NVelocity.Runtime.Directive.Directive |
---|
rsvc |
Constructor Summary | |
---|---|
Literal() Initializes a new instance of the Literal class. |
Property Summary | |
---|---|
string | Name |
int | Type |
Properties inherited from class NVelocity.Runtime.Directive.Directive |
---|
Column, Line |
Method Summary | |
---|---|
void |
init(NVelocity.Runtime.RuntimeServices rs, NVelocity.Context.InternalContextAdapter context, NVelocity.Runtime.Parser.Node.INode node) Store the literal rendition of a node using the Node.literal(). |
bool |
render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer, NVelocity.Runtime.Parser.Node.INode node) Throw the literal rendition of the block between #literal()/#end into the writer. |
Methods inherited from class NVelocity.Runtime.Directive.Directive |
---|
setLocation |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public Literal()
Initializes a new instance of the Literal class.
Property Detail |
---|
public string Name
public int Type
Method Detail |
---|
public void init(NVelocity.Runtime.RuntimeServices rs, NVelocity.Context.InternalContextAdapter context, NVelocity.Runtime.Parser.Node.INode node)
Store the literal rendition of a node using the Node.literal().
public bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer, NVelocity.Runtime.Parser.Node.INode node)
Throw the literal rendition of the block between #literal()/#end into the writer.
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |