Class BasicTabularSectionXmlPartReader
- java.lang.Object
-
- com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlPartReader
-
- com._1c.g5.v8.dt.md.import_.xml.reader.part.AbstractMdXmlPartReader
-
- com._1c.g5.v8.dt.md.import_.xml.reader.part.BasicTabularSectionXmlPartReader
-
- All Implemented Interfaces:
IXmlPartReader
- Direct Known Subclasses:
DataProcessorTabularSectionXmlPartReader
,ReportTabularSectionXmlPartReader
public class BasicTabularSectionXmlPartReader extends AbstractMdXmlPartReader
AllBasicTabularSection
XML reader
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.md.import_.xml.reader.part.AbstractMdXmlPartReader
modelFactory
-
Fields inherited from class com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlPartReader
xmlReadHelper
-
Fields inherited from interface com._1c.g5.v8.dt.import_.xml.reader.IXmlPartReader
XML_PART_READERS
-
-
Constructor Summary
Constructors Constructor Description BasicTabularSectionXmlPartReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
readBasicTabularSection(BasicTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetBasicTabularSection
objectvoid
readContains(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, IXmlNode node, String attributeName, Version version, IXmlReadErrorCollector errorCollector)
Read and convert node named attribute content to value in context-feature.protected void
readDbObjectTabularSection(DbObjectTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetDbObjectTabularSection
objectprotected void
readHierarchicalDbObjectTabularSection(HierarchicalDbObjectTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetHierarchicalDbObjectTabularSection
objectprotected void
readInternalInfo(TabularSectionTypes types, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetTabularSectionTypes
object-
Methods inherited from class com._1c.g5.v8.dt.md.import_.xml.reader.part.AbstractMdXmlPartReader
read, readBasicDbObject, readBasicFeature, readBasicForm, readMdObject, readReference
-
Methods inherited from class com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlPartReader
getWrongAttributeValueMessage, getXmlElementRequiredMessage, read, setRefers, setValue
-
-
-
-
Method Detail
-
readContains
public void readContains(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, IXmlNode node, String attributeName, Version version, IXmlReadErrorCollector errorCollector)
Description copied from class:AbstractMdXmlPartReader
Read and convert node named attribute content to value in context-feature.- Specified by:
readContains
in classAbstractMdXmlPartReader
- Parameters:
context
- the contextEObject
, cannot benull
feature
- the containmentEStructuralFeature
, cannot benull
node
- the sourceIXmlNode
, cannot benull
attributeName
- the name of attribute to set as value in model, ornull
to use text from nodeversion
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to add occurred errors
-
readHierarchicalDbObjectTabularSection
protected void readHierarchicalDbObjectTabularSection(HierarchicalDbObjectTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetHierarchicalDbObjectTabularSection
object- Parameters:
tabularSection
- targetHierarchicalDbObjectTabularSection
object to read from XML, cannot benull
node
- the sourceIXmlNode
, cannot benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to add occurred errors, cannot benull
-
readDbObjectTabularSection
protected void readDbObjectTabularSection(DbObjectTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetDbObjectTabularSection
object- Parameters:
tabularSection
- targetDbObjectTabularSection
object to read from XML, cannot benull
node
- the sourceIXmlNode
, cannot benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to add occurred errors, cannot benull
-
readBasicTabularSection
protected void readBasicTabularSection(BasicTabularSection tabularSection, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetBasicTabularSection
object- Parameters:
tabularSection
- targetBasicTabularSection
object to read from XML, cannot benull
node
- the sourceIXmlNode
, cannot benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to add occurred errors, cannot benull
-
readInternalInfo
protected void readInternalInfo(TabularSectionTypes types, IXmlNode node, Version version, IXmlReadErrorCollector xrr)
Read node to targetTabularSectionTypes
object- Parameters:
types
- targetTabularSectionTypes
object to read from XML, cannot benull
node
- the sourceIXmlNode
, cannot benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- theIXmlReadErrorCollector
to add occurred errors, cannot benull
-
-