com.fdsapi
Class TemplateTagReader
java.lang.Object
|
+--com.fdsapi.TemplateReader
|
+--com.fdsapi.TemplateTagReader
- public class TemplateTagReader
- extends TemplateReader
This is a utility class used to parse templates. It abstracts concepts such as the value of the template tag and
its x,y coordinate so in the future templates may be created in a different format (say XML) without having
these effects ripple throughout the FormattedDataSet API.
View Code
|
Constructor Summary |
protected |
TemplateTagReader(java.lang.String regularExpressionStr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateTagReader
protected TemplateTagReader(java.lang.String regularExpressionStr)
createInstance
public static TemplateTagReader createInstance(java.lang.String templateTagType)
- This routine is used to hide the implementation of using regular expressions.
getX
public int getX()
getY
public int getY()
getTemplateTagValue
public java.lang.String getTemplateTagValue()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception