org.tm4j.vtl.extractors
Class QuotableStringMaker

java.lang.Object
  extended byorg.tm4j.vtl.extractors.QuotableStringMaker
All Implemented Interfaces:
uk.co.jezuk.mango.UnaryFunction

public class QuotableStringMaker
extends java.lang.Object
implements uk.co.jezuk.mango.UnaryFunction

A simple text processing function which turns a string into one which can be used inside a double-quoted string. This function returns the input object converted to a string with all occurrences of the double-quote character " converted to a single-quote character '


Constructor Summary
QuotableStringMaker()
           
 
Method Summary
 java.lang.Object fn(java.lang.Object x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotableStringMaker

public QuotableStringMaker()
Method Detail

fn

public java.lang.Object fn(java.lang.Object x)
Specified by:
fn in interface uk.co.jezuk.mango.UnaryFunction