Class RMHtmlFile


  • public class RMHtmlFile
    extends java.lang.Object
    Generates an HTML file.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RMHtmlFile.SVGPathMaker
      Makes 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.String getString()
      Returns a HTML XML string for document.
      RXElement getXML()
      Returns document as HTML XML.
      protected RXElement toXML​(RMShape aShape)
      Writes a shape to SVG HTML XML.
      void write​(java.lang.String aPath)
      Writes HTML to file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
      • toXML

        protected RXElement toXML​(RMShape aShape)
        Writes a shape to SVG HTML XML.