/** * Constructs a new stencil for the given Dia shape description. */ public mxStencilShape(String shapeXml) { this(mxXmlUtils.parseXml(shapeXml)); }
/** * Returns a new document for the given XML string. * * @param xml * String that represents the XML data. * @return Returns a new XML document. * @deprecated Use <code>mxXmlUtils.parseXml</code> (Jan 2012) */ public static Document parseXml(String xml) { return mxXmlUtils.parseXml(xml); }
/** * Constructs a new stencil for the given Dia shape description. */ public mxStencilShape(String shapeXml) { this(mxXmlUtils.parseXml(shapeXml)); }
/** * Returns a new document for the given XML string. * * @param xml * String that represents the XML data. * @return Returns a new XML document. * @deprecated Use <code>mxXmlUtils.parseXml</code> (Jan 2012) */ public static Document parseXml(String xml) { return mxXmlUtils.parseXml(xml); }