Interface IXmlReadHelper

  • All Known Implementing Classes:
    XmlReadHelper

    public interface IXmlReadHelper
    Helper class to set read values to object features.
    • Field Detail

      • UNRESOLVED_SCHEME

        static final String UNRESOLVED_SCHEME
        Unresolved URI scheme prefix. Value is "unresolved:/".
        See Also:
        Constant Field Values
    • Method Detail

      • setValue

        void setValue​(org.eclipse.emf.ecore.EObject object,
                      org.eclipse.emf.ecore.EStructuralFeature feature,
                      Object value,
                      String attributeName,
                      Version version,
                      IXmlReadErrorCollector errorCollector)
        Set value in the provided feature of the provided object.
        Parameters:
        object - the EObject to set value to, cannot be null
        feature - the EStructuralFeature to set value to, cannot be null
        value - the value to set, can be null
        attributeName - the attribute name, can be null
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the IXmlReadErrorCollector to report error to, cannot be null
      • setUnresolvedReference

        void setUnresolvedReference​(org.eclipse.emf.ecore.EObject object,
                                    org.eclipse.emf.ecore.EReference feature,
                                    String reference,
                                    String attributeName,
                                    Version version,
                                    IXmlReadErrorCollector errorCollector)
        Create a proxy object in "unresolved:/" scheme and set in the provided feature of the provided object.
        Parameters:
        object - the EObject to set reference to, cannot be null
        feature - the EStructuralFeature to set reference to, cannot be null
        reference - the reference, cannot be null
        attributeName - the attribute name, can be null
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the IXmlReadErrorCollector to report error to, cannot be null