Package net.sourceforge.plantuml.xmi
Class XmiDescriptionDiagramAbstract
- java.lang.Object
-
- net.sourceforge.plantuml.xmi.XmiDescriptionDiagramAbstract
-
- All Implemented Interfaces:
XmlDiagramTransformer
- Direct Known Subclasses:
XmiDescriptionDiagramScript
,XmiDescriptionDiagramStandard
public abstract class XmiDescriptionDiagramAbstract extends java.lang.Object implements XmlDiagramTransformer
-
-
Field Summary
Fields Modifier and Type Field Description protected DescriptionDiagram
diagram
protected org.w3c.dom.Document
document
protected org.w3c.dom.Element
ownedElement
-
Constructor Summary
Constructors Constructor Description XmiDescriptionDiagramAbstract(DescriptionDiagram diagram)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addElement(Entity tobeAdded, org.w3c.dom.Element container)
protected abstract void
addLink(Link link)
protected org.w3c.dom.Element
createEntityNode(Entity entity)
static java.lang.String
forXMI(java.lang.String s)
static java.lang.String
forXMI(Display s)
void
transformerXml(java.io.OutputStream os)
-
-
-
Field Detail
-
diagram
protected final DescriptionDiagram diagram
-
document
protected final org.w3c.dom.Document document
-
ownedElement
protected final org.w3c.dom.Element ownedElement
-
-
Constructor Detail
-
XmiDescriptionDiagramAbstract
public XmiDescriptionDiagramAbstract(DescriptionDiagram diagram) throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
-
-
Method Detail
-
addElement
protected void addElement(Entity tobeAdded, org.w3c.dom.Element container)
-
addLink
protected abstract void addLink(Link link)
-
createEntityNode
protected org.w3c.dom.Element createEntityNode(Entity entity)
-
transformerXml
public 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
-
forXMI
public static java.lang.String forXMI(java.lang.String s)
-
forXMI
public static java.lang.String forXMI(Display s)
-
-