public abstract class ISDrawElementExtactor
extends java.lang.Object
Constructor and Description |
---|
ISDrawElementExtactor() |
Modifier and Type | Method and Description |
---|---|
abstract ProcessEdge |
createEdge(java.util.Properties f_props,
java.lang.String f_type) |
abstract void |
extractEdgeProperties(org.w3c.dom.Element connectionNode,
EdgeHolder _eh) |
abstract ProcessNode |
extractNode(org.w3c.dom.Element node) |
abstract void |
extractStyleSheet(org.w3c.dom.Element xmlNode,
ProcessNode node) |
static void |
findProperty(org.w3c.dom.Element node,
ProcessNode pNode,
java.lang.String xmlName,
java.lang.String propertyName,
java.util.HashMap<java.lang.String,java.lang.String> customMappings)
used to simplify finding elements in the "Properties" xml structure
|
static org.w3c.dom.Element |
getChildByName(java.lang.String name,
org.w3c.dom.Element node2) |
abstract ProcessModel |
getEmptyModel() |
static java.lang.String |
getProperty(org.w3c.dom.Element node,
java.lang.String xmlName)
if the property value cannot be found null is returned
|
static org.w3c.dom.Element |
getPropertyNode(org.w3c.dom.Element node,
java.lang.String xmlName) |
abstract void |
postProcessing(ProcessModel model)
called before the model is returned
|
abstract void |
processDockedEdge(ProcessEdge edge,
EdgeDocker e) |
abstract void |
setDefaultSize(ProcessNode node)
if no size information is given the default size was used in the IS model.
|
abstract void |
setParentChildRelationship(ProcessNode child,
ProcessNode parent)
Is called when a parent child relationship was detected
in the xml of the is workflow, but the parent module is not
an instance of the Cluster class.
|
public abstract ProcessNode extractNode(org.w3c.dom.Element node)
node
- public static void findProperty(org.w3c.dom.Element node, ProcessNode pNode, java.lang.String xmlName, java.lang.String propertyName, java.util.HashMap<java.lang.String,java.lang.String> customMappings)
node
- pNode
- xmlName
- propertyName
- customMappings
- public static java.lang.String getProperty(org.w3c.dom.Element node, java.lang.String xmlName)
node
- string
- public static org.w3c.dom.Element getPropertyNode(org.w3c.dom.Element node, java.lang.String xmlName)
public static org.w3c.dom.Element getChildByName(java.lang.String name, org.w3c.dom.Element node2)
public abstract void extractStyleSheet(org.w3c.dom.Element xmlNode, ProcessNode node)
node
- node2
- public abstract void extractEdgeProperties(org.w3c.dom.Element connectionNode, EdgeHolder _eh)
connectionNode
- _eh
- public abstract ProcessEdge createEdge(java.util.Properties f_props, java.lang.String f_type)
f_props
- f_type
- public abstract void postProcessing(ProcessModel model)
public abstract ProcessModel getEmptyModel()
public abstract void setDefaultSize(ProcessNode node)
node
- public abstract void setParentChildRelationship(ProcessNode child, ProcessNode parent)
p
- _pn
- public abstract void processDockedEdge(ProcessEdge edge, EdgeDocker e)
edge
- e
-