public class XSLUtility
extends java.lang.Object
Constructor and Description |
---|
XSLUtility() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createPatternImage(int width,
int extent,
java.lang.String pattern,
java.lang.String color) |
static java.lang.String |
fileToURL(java.lang.String filename) |
static java.lang.String |
getIconURL(java.lang.String icon) |
static java.lang.String |
getImageURL(java.lang.String filename,
org.w3c.dom.Node fill,
org.w3c.dom.Node stroke,
int size) |
static java.lang.String |
replaceComma(org.w3c.dom.Node node) |
static java.lang.String |
toAlphaValue(org.w3c.dom.Node colorNode) |
static java.lang.String |
toFontFamily(org.w3c.dom.Node colorNode) |
static java.lang.String |
toFontStyle(org.w3c.dom.Node fontNode) |
static java.lang.String |
toHexColor(org.w3c.dom.Node colorNode) |
static java.lang.String |
toWellKnowName(org.w3c.dom.Node vertexStyleNode) |
public static java.lang.String toHexColor(org.w3c.dom.Node colorNode)
colorNode
- public static java.lang.String toAlphaValue(org.w3c.dom.Node colorNode)
colorNode
- public static java.lang.String toFontFamily(org.w3c.dom.Node colorNode)
colorNode
- public static java.lang.String toFontStyle(org.w3c.dom.Node fontNode)
fontNode
- public static java.lang.String toWellKnowName(org.w3c.dom.Node vertexStyleNode)
vertexStyleNode
- public static java.lang.String getImageURL(java.lang.String filename, org.w3c.dom.Node fill, org.w3c.dom.Node stroke, int size) throws java.io.IOException
filename
- fill
- stroke
- size
- java.io.IOException
public static java.lang.String fileToURL(java.lang.String filename)
filename
- public static java.lang.String replaceComma(org.w3c.dom.Node node)
node
- public static java.lang.String getIconURL(java.lang.String icon)
icon
- public static java.lang.String createPatternImage(int width, int extent, java.lang.String pattern, java.lang.String color) throws java.io.IOException
width
- extent
- pattern
- color
- java.io.IOException