java.lang.Object
com.semanticcms.dia.servlet.impl.DiaImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
static final char
static final String
static final char
-
Method Summary
Modifier and TypeMethodDescriptionstatic DiaExport
exportDiagram
(PageRef pageRef, Integer width, Integer height, File tmpDir) static void
writeDiaImpl
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, AnyPhrasingContent<?, ?> content, Dia dia) Renders the diagram HTML.
-
Field Details
-
SIZE_SEPARATOR
public static final char SIZE_SEPARATOR- See Also:
-
EMPTY_SIZE
public static final char EMPTY_SIZE- See Also:
-
DIMENSION_SEPARATOR
public static final char DIMENSION_SEPARATOR- See Also:
-
PNG_EXTENSION
- See Also:
-
-
Method Details
-
exportDiagram
public static DiaExport exportDiagram(PageRef pageRef, Integer width, Integer height, File tmpDir) throws InterruptedException, FileNotFoundException, IOException -
writeDiaImpl
public static void writeDiaImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, AnyPhrasingContent<?, ?> content, Dia dia) throws ServletException, IOExceptionRenders the diagram HTML.- Parameters:
content
-AnyPhrasingContent
providesAnyIMG
,AnyA
, andAnySCRIPT
.- Throws:
ServletException
IOException
-