Package cz.vutbr.fit.layout.tools.cmd
Class Renderer
- java.lang.Object
-
- cz.vutbr.fit.layout.tools.CliCommand
-
- cz.vutbr.fit.layout.tools.cmd.Renderer
-
public class Renderer extends CliCommand implements Callable<Integer>
A command-line interface to page rendering.- Author:
- burgetr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Renderer.Backend
-
Constructor Summary
Constructors Constructor Description Renderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
call()
Page
render(String url, Renderer.Backend backend, int width, int height, Map<String,String> params)
Renders a page using the given backend and returns the page structure.-
Methods inherited from class cz.vutbr.fit.layout.tools.CliCommand
errNoAreaTree, errNoArtifact, errNoPage, errNoRepo, getCli, printError, setCli
-
-
-
-
Field Detail
-
help
protected boolean help
-
width
protected int width
-
height
protected int height
-
backend
protected Renderer.Backend backend
-
url
protected String url
-
-