Package net.sourceforge.plantuml.xmi
Class XmiClassDiagramScript
- java.lang.Object
-
- net.sourceforge.plantuml.xmi.XmiClassDiagramScript
-
- All Implemented Interfaces:
XmlDiagramTransformer
public class XmiClassDiagramScript extends java.lang.Object implements XmlDiagramTransformer
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassDiagram
classDiagram
protected org.w3c.dom.Document
document
protected java.util.Set<Entity>
done
protected java.util.Map<java.lang.String,java.util.List<net.sourceforge.plantuml.xmi.XmiClassDiagramScript.MemberData>>
members
protected org.w3c.dom.Element
ownedElementRoot
-
Constructor Summary
Constructors Constructor Description XmiClassDiagramScript(ClassDiagram classDiagram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.Element
createElementPackage(Entity group)
protected org.w3c.dom.Element
createEntityNode(Entity entity)
protected java.lang.String
forXMI(java.lang.String s)
protected java.lang.String
forXMI(Display s)
void
transformerXml(java.io.OutputStream os)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.xmi.XmlDiagramTransformer
transformerXml
-
-
-
-
Field Detail
-
members
protected final java.util.Map<java.lang.String,java.util.List<net.sourceforge.plantuml.xmi.XmiClassDiagramScript.MemberData>> members
-
classDiagram
protected final ClassDiagram classDiagram
-
document
protected final org.w3c.dom.Document document
-
ownedElementRoot
protected final org.w3c.dom.Element ownedElementRoot
-
done
protected final java.util.Set<Entity> done
-
-
Constructor Detail
-
XmiClassDiagramScript
public XmiClassDiagramScript(ClassDiagram classDiagram) throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
-
-
Method Detail
-
createElementPackage
protected final org.w3c.dom.Element createElementPackage(Entity group)
-
forXMI
protected final java.lang.String forXMI(java.lang.String s)
-
forXMI
protected final java.lang.String forXMI(Display s)
-
transformerXml
public final void transformerXml(java.io.OutputStream os) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException
- Specified by:
transformerXml
in interfaceXmlDiagramTransformer
- Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
-
createEntityNode
protected final org.w3c.dom.Element createEntityNode(Entity entity)
-
-