com.fdsapi
Class TemplateColumnReader

java.lang.Object
  |
  +--com.fdsapi.TemplateReader
        |
        +--com.fdsapi.TemplateColumnReader

public class TemplateColumnReader
extends TemplateReader

Support class for parsing Template files/Strings. It breaks the Template tag values at boundaries such as a template tag variable (i.e. ##myVar). Different Objects are created depending on the contents of the contents of each column boundary (i.e. ##this, will create a different object than ##myVar). However, this class doesn't have knowledge of what different objects are created. It only knows to break the tokens up at the column boundaries.

View Code


Constructor Summary
protected TemplateColumnReader(java.lang.String regularExpressionStr)
           
 
Method Summary
static TemplateColumnReader createInstance()
           
 java.lang.String getColumnValue()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.fdsapi.TemplateReader
getParen, next, setSourceString, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateColumnReader

protected TemplateColumnReader(java.lang.String regularExpressionStr)
Method Detail

createInstance

public static TemplateColumnReader createInstance()

getColumnValue

public java.lang.String getColumnValue()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception