public abstract class XmiDescriptionDiagramAbstract extends java.lang.Object implements XmlDiagramTransformer
Modifier and Type | Field and Description |
---|---|
protected DescriptionDiagram |
diagram |
protected org.w3c.dom.Document |
document |
protected org.w3c.dom.Element |
ownedElement |
Constructor and Description |
---|
XmiDescriptionDiagramAbstract(DescriptionDiagram diagram) |
Modifier and Type | Method and 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(Display s) |
static java.lang.String |
forXMI(java.lang.String s) |
void |
transformerXml(java.io.OutputStream os) |
protected final DescriptionDiagram diagram
protected final org.w3c.dom.Document document
protected final org.w3c.dom.Element ownedElement
public XmiDescriptionDiagramAbstract(DescriptionDiagram diagram) throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
protected void addElement(Entity tobeAdded, org.w3c.dom.Element container)
protected abstract void addLink(Link link)
protected org.w3c.dom.Element createEntityNode(Entity entity)
public void transformerXml(java.io.OutputStream os) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException
transformerXml
in interface XmlDiagramTransformer
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
public static java.lang.String forXMI(java.lang.String s)
public static java.lang.String forXMI(Display s)