Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class StringNode  view StringNode download StringNode.java

java.lang.Object
  extended bycom.tripi.asp.DefaultNode
      extended bycom.tripi.asp.StringNode
All Implemented Interfaces:
Node

public class StringNode
extends DefaultNode

This class represents a string in the parsed ASP code.


Field Summary
(package private)  java.lang.String string
          String this string node contains
 
Constructor Summary
StringNode(java.lang.Object string)
          Constructor.
 
Method Summary
 void dump()
          Dumps this string value.
 java.lang.Object execute(AspContext context)
          Executes this string, returns the string value stripped of the surrounding quotes and any escape sequences.
static StringNode fromStringToken(java.lang.String str)
          Construct a string node from a string token.
 java.lang.String getString()
          Get the string value.
 
Methods inherited from class com.tripi.asp.DefaultNode
prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

string

java.lang.String string
String this string node contains

Constructor Detail

StringNode

public StringNode(java.lang.Object string)
Constructor.

Method Detail

dump

public void dump()
Dumps this string value.

Specified by:
dump in interface Node
Overrides:
dump in class DefaultNode

getString

public java.lang.String getString()
Get the string value.


execute

public java.lang.Object execute(AspContext context)
Executes this string, returns the string value stripped of the surrounding quotes and any escape sequences.

Specified by:
execute in interface Node
Overrides:
execute in class DefaultNode

fromStringToken

public static StringNode fromStringToken(java.lang.String str)
Construct a string node from a string token.