Class EoRepresentation

  • All Implemented Interfaces:
    Representation

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

      • EoRepresentation

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

        public EoRepresentation​(String... lines)
        Constructor.
        Parameters:
        lines - Xml document lines.
      • EoRepresentation

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

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

      • details

        public Details details()
        Description copied from interface: Representation
        Details of representation. Additional info about representation.
        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.