// Path: src/com/floreysoft/jmte/NamedRenderer.java
// public interface NamedRenderer {
// 	/**
// 	 * Renders an object of a type supported by the renderer.
// 	 * 
// 	 * @param o
// 	 *            the object to render
// 	 * @param format
// 	 *            anything that tells the renderer how to do its work
// 	 * @param locale
// 	 *            the locale used in transformation
// 	 * @return the rendered object
// 	 */
// 	public String render(Object o, String format, Locale locale);
// 
// 	/**
// 	 * Gets the name of the renderer.
// 	 */
// 	public String getName();
// 
// 	/**
// 	 * Gives information about what can be passed as a format parameter to the
// 	 * {@link #render(Object, String)} method.
// 	 */
// 	public RenderFormatInfo getFormatInfo();
// 
// 	/**
// 	 * Returns which classes are support by this renderer, i.e. which ones you
// 	 * can pass to the {@link #render(Object, String)} method.
// 	 */
// 	public Class<?>[] getSupportedClasses();
// 
// }


import java.util.List;
import com.floreysoft.jmte.NamedRenderer;
import com.floreysoft.jmte.Renderer;
import com.floreysoft.jmte.TemplateContext;
import com.floreysoft.jmte.encoder.Encoder;
import com.floreysoft.jmte.renderer.RawRenderer;


	public StringToken(String text, List<String> segments, String variableName,
			String defaultValue, String prefix, String suffix,
			String rendererName, String parameters) {
		super(segments, variableName);
		this.defaultValue = defaultValue;
		this.prefix = prefix;
		this.suffix = suffix;
		this.rendererName = rendererName;
		this.parameters = parameters;
		setText(text);
	}

	public StringToken(List<String> segments, String variableName) {
		super(segments, variableName);
		this.defaultValue = null;
		this.prefix = null;
		this.suffix = null;
		this.rendererName = null;
		this.parameters = null;
	}

	public String getPrefix() {
		return prefix;
	}

	public String getSuffix() {
		return suffix;
	}


// Path: src/com/floreysoft/jmte/NamedRenderer.java
// public interface NamedRenderer {
// 	/**
// 	 * Renders an object of a type supported by the renderer.
// 	 * 
// 	 * @param o
// 	 *            the object to render
// 	 * @param format
// 	 *            anything that tells the renderer how to do its work
// 	 * @param locale
// 	 *            the locale used in transformation
// 	 * @return the rendered object
// 	 */
// 	public String render(Object o, String format, Locale locale);
// 
// 	/**
// 	 * Gets the name of the renderer.
// 	 */
// 	public String getName();
// 
// 	/**
// 	 * Gives information about what can be passed as a format parameter to the
// 	 * {@link #render(Object, String)} method.
// 	 */
// 	public RenderFormatInfo getFormatInfo();
// 
// 	/**
// 	 * Returns which classes are support by this renderer, i.e. which ones you
// 	 * can pass to the {@link #render(Object, String)} method.
// 	 */
// 	public Class<?>[] getSupportedClasses();
// 
// }


// Path: src/com/floreysoft/jmte/token/StringToken.java
import java.util.List;
import com.floreysoft.jmte.NamedRenderer;
import com.floreysoft.jmte.Renderer;
import com.floreysoft.jmte.TemplateContext;
import com.floreysoft.jmte.encoder.Encoder;
import com.floreysoft.jmte.renderer.RawRenderer;


	public StringToken(String text, List<String> segments, String variableName,
			String defaultValue, String prefix, String suffix,
			String rendererName, String parameters) {
		super(segments, variableName);
		this.defaultValue = defaultValue;
		this.prefix = prefix;
		this.suffix = suffix;
		this.rendererName = rendererName;
		this.parameters = parameters;
		setText(text);
	}

	public StringToken(List<String> segments, String variableName) {
		super(segments, variableName);
		this.defaultValue = null;
		this.prefix = null;
		this.suffix = null;
		this.rendererName = null;
		this.parameters = null;
	}

	public String getPrefix() {
		return prefix;
	}

	public String getSuffix() {
		return suffix;
	}


	public String getDefaultValue() {
