Package org.eolang.jeo.representation
Class CanonicalXmir
java.lang.Object
org.eolang.jeo.representation.CanonicalXmir
Canonical XMIR.
The purpose of this class is to restore the original XMIR format after PHI/UNPHI transformations.
You can read more about it
here.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionCanonicalXmir
(com.jcabi.xml.XML canonical) Constructor.CanonicalXmir
(String name, com.jcabi.xml.XML canonical) Constructor.CanonicalXmir
(Path canonical) Constructor.CanonicalXmir
(Path path, com.jcabi.xml.XML canonical) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.jcabi.xml.XML
plain()
Convert canonical XMIR to plain XMIR.
-
Constructor Details
-
CanonicalXmir
public CanonicalXmir(com.jcabi.xml.XML canonical) Constructor.- Parameters:
canonical
- Significantly modified XMIR after "phi/unphi".
-
CanonicalXmir
Constructor.- Parameters:
canonical
- Path to the xmir Significantly modified XMIR after "phi/unphi".- Throws:
FileNotFoundException
-
CanonicalXmir
Constructor.- Parameters:
path
- Path to the xmir Significantly modified XMIR after "phi/unphi".canonical
- Significantly modified XMIR after "phi/unphi".
-
CanonicalXmir
Constructor.- Parameters:
name
- Name of the XMIR.canonical
- Significantly modified XMIR after "phi/unphi".
-
-
Method Details
-
plain
public com.jcabi.xml.XML plain()Convert canonical XMIR to plain XMIR.- Returns:
- Plain XMIR.
-