Class EmfHtmlWriter


  • @Deprecated
    public class EmfHtmlWriter
    extends java.lang.Object
    Deprecated.
    Will be removed in next minor release.
    Offers a generic HTML representation of an EMF object. It lists all its properties and can even generate HTML links when the proper EMF eAnnotation is detected. This is useful to be able to automatically navigate a Web API whose resource representations are defined using EMF.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ANNOTATION_URI
      Deprecated.
       
      private org.eclipse.emf.ecore.EObject object
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      EmfHtmlWriter​(org.eclipse.emf.ecore.EObject object)
      Deprecated.
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.EObject getObject()
      Deprecated.
      Returns the EMF object to write.
      void write​(java.io.Writer writer)
      Deprecated.
      Writes the wrapped EMF object as an HTML document.
      private void writeRow​(java.io.Writer writer, java.lang.String name, java.lang.String value, boolean hyperlink)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ANNOTATION_URI

        public static final java.lang.String ANNOTATION_URI
        Deprecated.
        See Also:
        Constant Field Values
      • object

        private final org.eclipse.emf.ecore.EObject object
        Deprecated.
    • Constructor Detail

      • EmfHtmlWriter

        public EmfHtmlWriter​(org.eclipse.emf.ecore.EObject object)
        Deprecated.
        Constructor.
        Parameters:
        object -
    • Method Detail

      • getObject

        public org.eclipse.emf.ecore.EObject getObject()
        Deprecated.
        Returns the EMF object to write.
        Returns:
        The EMF object to write.
      • write

        public void write​(java.io.Writer writer)
                   throws java.io.IOException
        Deprecated.
        Writes the wrapped EMF object as an HTML document.
        Parameters:
        writer - The writer to use.
        Throws:
        java.io.IOException
      • writeRow

        private void writeRow​(java.io.Writer writer,
                              java.lang.String name,
                              java.lang.String value,
                              boolean hyperlink)
                       throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException