Class XmlFileReaderContext

    • Constructor Detail

      • XmlFileReaderContext

        public XmlFileReaderContext​(File file,
                                    org.eclipse.emf.ecore.EClass eClass,
                                    org.eclipse.emf.ecore.EStructuralFeature feature)
        Create instance of XmlFileReaderContext
        Parameters:
        file - the file with XML document, cannot be null
        eClass - the class to read object with, cannot be null
        feature - the context feature containing eClass or null if not needed
    • Method Detail

      • getFile

        public File getFile()
        File with XML document
        Returns:
        the file with XML document, cannot be null
      • geteClass

        public org.eclipse.emf.ecore.EClass geteClass()
        EClass to read object with
        Returns:
        the eClass to read object with, cannot be null
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        The context feature
        Returns:
        the context feature, can be null