Class XmlFileReaderContext

    • Constructor Detail

      • XmlFileReaderContext

        public XmlFileReaderContext​(Path path,
                                    org.eclipse.emf.ecore.EClass eClass,
                                    org.eclipse.emf.ecore.EStructuralFeature feature)
        Create instance of XmlFileReaderContext
        Parameters:
        path - the file path 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

      • getPath

        public Path getPath()
        File path with XML document
        Returns:
        the file path 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