alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Friki example source code file (DelegatedRenderer.java)

This example Friki source code file (DelegatedRenderer.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Friki tags/keywords

delegatedrenderer, delegatedrenderer, delegator, io, ioexception, ioexception, renderer, string, string, writer, writer

The Friki DelegatedRenderer.java source code

package tests;

import java.io.Writer;
import java.io.IOException;

import org.stringtree.util.Delegator;
import org.stringtree.util.tract.Tract;

import com.efsol.friki.*;

public class DelegatedRenderer extends Delegator implements Renderer
{
	public DelegatedRenderer(Renderer other)
	{
		super(other);
	}

	public void render(Tract page, String mode, Writer out, boolean isFiltered)
		throws IOException
	{
		((Renderer)getOther()).render(page, mode, out, isFiltered);
	}
}

Other Friki examples (source code examples)

Here is a short list of links related to this Friki DelegatedRenderer.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.