Class CanonicalXmir

java.lang.Object
org.eolang.jeo.representation.CanonicalXmir

public final class CanonicalXmir extends Object
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 Details

    • CanonicalXmir

      public CanonicalXmir(com.jcabi.xml.XML canonical)
      Constructor.
      Parameters:
      canonical - Significantly modified XMIR after "phi/unphi".
    • CanonicalXmir

      public CanonicalXmir(Path canonical) throws FileNotFoundException
      Constructor.
      Parameters:
      canonical - Path to the xmir Significantly modified XMIR after "phi/unphi".
      Throws:
      FileNotFoundException
    • CanonicalXmir

      public CanonicalXmir(Path path, com.jcabi.xml.XML canonical)
      Constructor.
      Parameters:
      path - Path to the xmir Significantly modified XMIR after "phi/unphi".
      canonical - Significantly modified XMIR after "phi/unphi".
    • CanonicalXmir

      public CanonicalXmir(String name, com.jcabi.xml.XML canonical)
      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.