public class SVGPrimitiveGeneratorUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Predicate<PrimitiveDefinition> |
CAN_GENERATE_PRIMITIVE_CODE |
static String |
GROUP_ADD_CHILD_TEMPLATE |
static String |
NEW_SVG_CONTAINER_TEMPLATE |
static String |
NEW_SVG_SHAPE_TEMPLATE |
| Constructor and Description |
|---|
SVGPrimitiveGeneratorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatLayout(LayoutDefinition layoutDefinition) |
static String |
generateSvgPrimitive(String instanceId,
Function<PrimitiveDefinition,PrimitiveDefinitionGenerator<PrimitiveDefinition<?>>> generatorProvider,
PrimitiveDefinition child) |
static String |
generateSvgPrimitive(String instanceId,
Function<PrimitiveDefinition,PrimitiveDefinitionGenerator<PrimitiveDefinition<?>>> generatorProvider,
PrimitiveDefinition child,
Predicate<PrimitiveDefinition> generationFilter) |
public static final String NEW_SVG_CONTAINER_TEMPLATE
public static final String NEW_SVG_SHAPE_TEMPLATE
public static final String GROUP_ADD_CHILD_TEMPLATE
public static final Predicate<PrimitiveDefinition> CAN_GENERATE_PRIMITIVE_CODE
public static String generateSvgPrimitive(String instanceId, Function<PrimitiveDefinition,PrimitiveDefinitionGenerator<PrimitiveDefinition<?>>> generatorProvider, PrimitiveDefinition child)
public static String generateSvgPrimitive(String instanceId, Function<PrimitiveDefinition,PrimitiveDefinitionGenerator<PrimitiveDefinition<?>>> generatorProvider, PrimitiveDefinition child, Predicate<PrimitiveDefinition> generationFilter)
public static String formatLayout(LayoutDefinition layoutDefinition)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.