Interface IXmlReadHelper
-
- All Known Implementing Classes:
XmlReadHelper
public interface IXmlReadHelper
Helper class to set read values to object features.
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNRESOLVED_SCHEME
Unresolved URI scheme prefix.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 providedfeature
of the providedobject
.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 providedfeature
of the providedobject
.
-
-
-
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 providedfeature
of the providedobject
.- Parameters:
object
- theEObject
to set value to, cannot benull
feature
- theEStructuralFeature
to set value to, cannot benull
value
- the value to set, can benull
attributeName
- the attribute name, can benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to report error to, cannot benull
-
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 providedfeature
of the providedobject
.- Parameters:
object
- theEObject
to set reference to, cannot benull
feature
- theEStructuralFeature
to set reference to, cannot benull
reference
- the reference, cannot benull
attributeName
- the attribute name, can benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to report error to, cannot benull
-
-