Class BorderReader
- java.lang.Object
-
- com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlPartReader
-
- com._1c.g5.v8.dt.import_.xml.reader.part.BorderReader
-
- All Implemented Interfaces:
IXmlPartReader
public class BorderReader extends AbstractXmlPartReader
Border
XML reader.
-
-
Field Summary
-
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 BorderReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(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.Border
readBorder(IXmlNode node, String attributeName, Version version, IXmlReadErrorCollector errorCollector)
Reads border value.-
Methods inherited from class com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlPartReader
getWrongAttributeValueMessage, getXmlElementRequiredMessage, read, setRefers, setValue
-
-
-
-
Method Detail
-
read
public void read(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, IXmlNode node, String attributeName, Version version, IXmlReadErrorCollector errorCollector)
Description copied from interface:IXmlPartReader
Read and convert node named attribute content to value in context-feature.- Parameters:
context
- the contextEObject
, cannot benull
feature
- theEStructuralFeature
, 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
-
readBorder
public Border readBorder(IXmlNode node, String attributeName, Version version, IXmlReadErrorCollector errorCollector)
Reads border value.- Parameters:
node
- the border node, cannot benull
attributeName
- the attribute name, cannot benull
version
- the version of importing 1C:Enterprise XML files, cannot benull
errorCollector
- the error collector, cannot benull
- Returns:
- the border, cannot be
null
-
-