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 DescriptionDiagramdiagramprotected org.w3c.dom.Documentdocumentprotected org.w3c.dom.ElementownedElement
-
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 voidaddElement(Entity tobeAdded, org.w3c.dom.Element container)protected abstract voidaddLink(Link link)protected org.w3c.dom.ElementcreateEntityNode(Entity entity)static java.lang.StringforXMI(java.lang.String s)static java.lang.StringforXMI(Display s)voidtransformerXml(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:
transformerXmlin interfaceXmlDiagramTransformer- Throws:
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationException
-
forXMI
public static java.lang.String forXMI(java.lang.String s)
-
forXMI
public static java.lang.String forXMI(Display s)
-
-