Package org.eolang.parser
Class XMIR
- java.lang.Object
-
- org.eolang.parser.XMIR
-
public final class XMIR extends Object
Prints XMIR to EO. 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(xml).toEO();
Here, thexml
is aString
or an instance ofXML
from the jcabi-xml package.- Since:
- 0.5
-
-
Constructor Detail
-
XMIR
public XMIR(String src)
Ctor.- Parameters:
src
- The source
-
XMIR
public XMIR(org.cactoos.Text src)
Ctor.- Parameters:
src
- The source
-
XMIR
public XMIR(com.jcabi.xml.XML src)
Ctor.- Parameters:
src
- The source
-
-
Method Detail
-
toEO
public String toEO()
Print it to EO.- Returns:
- The program in EO
-
-