public class GinmlHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_URL_DTD_FILE
default URL of the DTD
|
static String |
DOCTYPE |
Constructor and Description |
---|
GinmlHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
applyEdgeVisualSettings(Edge<?> edge,
StyleManager styleManager,
EdgeAttributesReader ereader,
NodeAttributesReader nreader,
String qName,
Attributes attributes)
we are reading edge visual settings from a ginml file, apply them on
the current edge.
|
static void |
applyNodeVisualSettings(NodeAttributesReader vareader,
StyleManager stylemanager,
String qName,
Attributes attributes)
we are reading node visual settings from a ginml file, apply them on
the current node.
|
static boolean |
loadEdgeStyle(StyleManager styleManager,
EdgeAttributesReader ereader,
Attributes attributes)
Load style and intermediate points from GINML.
|
static boolean |
loadNodeStyle(StyleManager styleManager,
NodeAttributesReader vreader,
Attributes attributes)
Load node position and style from GINML
|
public static final String DEFAULT_URL_DTD_FILE
public static final String DOCTYPE
public static void applyNodeVisualSettings(NodeAttributesReader vareader, StyleManager stylemanager, String qName, Attributes attributes)
vareader
- qName
- attributes
- public static void applyEdgeVisualSettings(Edge<?> edge, StyleManager styleManager, EdgeAttributesReader ereader, NodeAttributesReader nreader, String qName, Attributes attributes)
ereader
- qName
- attributes
- public static boolean loadEdgeStyle(StyleManager styleManager, EdgeAttributesReader ereader, Attributes attributes)
styleManager
- ereader
- attributes
- public static boolean loadNodeStyle(StyleManager styleManager, NodeAttributesReader vreader, Attributes attributes)
styleManager
- vreader
- attributes
- Copyright © 2005–2020. All rights reserved.