Class XmirRepresentation

  • All Implemented Interfaces:
    Representation

    public final class XmirRepresentation
    extends Object
    implements Representation
    Intermediate representation of a class files from XMIR.
    Since:
    0.1.0
    • Constructor Detail

      • XmirRepresentation

        public XmirRepresentation​(Path path)
        Constructor.
        Parameters:
        path - Path to XML file.
      • XmirRepresentation

        public XmirRepresentation​(Path path,
                                  boolean verify)
        Constructor.
        Parameters:
        path - Path to XML file.
        verify - Verify bytecode.
      • XmirRepresentation

        public XmirRepresentation​(com.jcabi.xml.XML xml)
        Constructor.
        Parameters:
        xml - XML.
      • XmirRepresentation

        public XmirRepresentation​(com.jcabi.xml.XML xml,
                                  String source)
        Constructor.
        Parameters:
        xml - XML.
        source - Source of the XML.
      • XmirRepresentation

        public XmirRepresentation​(com.jcabi.xml.XML xml,
                                  String source,
                                  boolean verify)
        Constructor.
        Parameters:
        xml - XML.
        source - Source of the XML.
        verify - Verify bytecode.
    • Method Detail

      • details

        public Details details()
        Description copied from interface: Representation
        Details of representation. Additional info about representation which might include the source file, the name of a class or an object, etc.
        Specified by:
        details in interface Representation
        Returns:
        Representation details instance.
      • toEO

        public com.jcabi.xml.XML toEO()
        Description copied from interface: Representation
        Convert to EOlang XML representation (XMIR).
        Specified by:
        toEO in interface Representation
        Returns:
        XML.