org.millscript.millscript.render
Interface Renderable

All Known Implementing Classes:
CDATA, XmlComment, XmlElement

public interface Renderable

This interface is implemented by objects which need to customise their rendering.


Method Summary
 void render(Renderer r)
          This method is called to render the implementing object to the specified renderer.
 

Method Detail

render

void render(Renderer r)
            throws java.io.IOException
This method is called to render the implementing object to the specified renderer.

If the implementing object is not a core part of MillScript you may need to query what type of renderer it is, so you can further customise your rendering as appropriate.

Parameters:
r - the renderer to render this object with
Throws:
java.io.IOException - thrown if an IO problem occurs


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.