Package com.inductiveautomation.rm.out
Class RMHtmlFile
- java.lang.Object
-
- com.inductiveautomation.rm.out.RMHtmlFile
-
public class RMHtmlFile extends java.lang.ObjectGenerates an HTML file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRMHtmlFile.SVGPathMakerMakes a path string from an AWT Path.
-
Constructor Summary
Constructors Constructor Description RMHtmlFile(RMDocument aDoc)Creates a new RMHtmlFile for given document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()Returns bytes.java.lang.StringgetString()Returns a HTML XML string for document.RXElementgetXML()Returns document as HTML XML.protected RXElementtoXML(RMShape aShape)Writes a shape to SVG HTML XML.voidwrite(java.lang.String aPath)Writes HTML to file.
-
-
-
Constructor Detail
-
RMHtmlFile
public RMHtmlFile(RMDocument aDoc)
Creates a new RMHtmlFile for given document.
-
-
Method Detail
-
getXML
public RXElement getXML()
Returns document as HTML XML.
-
getString
public java.lang.String getString()
Returns a HTML XML string for document.
-
getBytes
public byte[] getBytes()
Returns bytes.
-
write
public void write(java.lang.String aPath)
Writes HTML to file.
-
-