Class Xmir


  • public final class Xmir
    extends Object
    Prints XMIR to EO.

    Default Xmir that prints EO with straight vertical methods.

    This class will help you turn XMIR (XML document) into EOLANG plain text source code. It's as simple as this:

     String eo = new Xmir.Default(xml).toEO();

    Here, the xml is a String or an instance of XML from the jcabi-xml package.

    • Constructor Detail

      • Xmir

        public Xmir​(com.jcabi.xml.XML src)
        Ctor.
        Parameters:
        src - The source
    • Method Detail

      • toEO

        public String toEO()
        Converts XMIR to EO.
        Returns:
        EO representation as String
      • toReversed

        public String toReversed()
        Converts XMIR to EO, in reverse notation.
        Returns:
        EO representation as String