Package com.mxgraph.io.graphml
Class mxGraphMlPort
java.lang.Object
com.mxgraph.io.graphml.mxGraphMlPort
Represents a Port element in the GML Structure.
-
Constructor Summary
ConstructorsConstructorDescriptionmxGraphMlPort
(String name) Construct a Port with name.mxGraphMlPort
(Element portElement) Construct a Port from a xml port Element. -
Method Summary
Modifier and TypeMethodDescriptiongenerateElement
(Document document) Generates a Key Element from this class.getName()
void
void
setPortDataMap
(HashMap<String, mxGraphMlData> nodeDataMap)
-
Constructor Details
-
mxGraphMlPort
Construct a Port with name.- Parameters:
name
- Port Name
-
mxGraphMlPort
Construct a Port from a xml port Element.- Parameters:
portElement
- Xml port Element.
-
-
Method Details
-
getName
-
setName
-
getPortDataMap
-
setPortDataMap
-
generateElement
Generates a Key Element from this class.- Parameters:
document
- Document where the key Element will be inserted.- Returns:
- Returns the generated Elements.
-