Class WebServiceXmlFileReader
- java.lang.Object
-
- com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlFileReader
-
- com._1c.g5.v8.dt.md.import_.xml.reader.AbstractMdXmlFileReader
-
- com._1c.g5.v8.dt.md.import_.xml.reader.WebServiceXmlFileReader
-
- All Implemented Interfaces:
IXmlFileReader
public class WebServiceXmlFileReader extends AbstractMdXmlFileReader
WebService
XML file reader
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.md.import_.xml.reader.AbstractMdXmlFileReader
modelFactory, xmlPartReaderProvider
-
Fields inherited from class com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlFileReader
nodeFactory
-
-
Constructor Summary
Constructors Constructor Description WebServiceXmlFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IXmlNode
getRootNode(Document doc)
Method to take core xml element for importing objectprotected XmlReaderResult
read(IXmlNode node, Version version, XmlFileReaderContext readerContext)
Read xml nodeXmlReaderResult
read(Document document, Path path, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Read XML file to the XML reader result with the providedeClass
content.-
Methods inherited from class com._1c.g5.v8.dt.md.import_.xml.reader.AbstractMdXmlFileReader
readBasicDbObject, readBasicFeature, readBasicForm, readMdObject
-
Methods inherited from class com._1c.g5.v8.dt.import_.xml.reader.AbstractXmlFileReader
getWrongAttributeValueMessage, getXmlElementRequiredMessage, getXmlFileReaderContext
-
-
-
-
Method Detail
-
read
public XmlReaderResult read(Document document, Path path, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Description copied from interface:IXmlFileReader
Read XML file to the XML reader result with the providedeClass
content.- Specified by:
read
in interfaceIXmlFileReader
- Overrides:
read
in classAbstractXmlFileReader
- Parameters:
document
- the XML document parsed fromfile
, cannot benull
path
- the file path with XML document, cannot benull
eClass
- the class to read object with, cannot benull
feature
- the context feature containingeClass
ornull
if not neededversion
- the version of importing 1C:Enterprise XML files, cannot benull
- Returns:
- the
XmlReaderResult
as importing result with the providedeClass
content, nevernull
-
getRootNode
protected IXmlNode getRootNode(Document doc)
Description copied from class:AbstractXmlFileReader
Method to take core xml element for importing object- Specified by:
getRootNode
in classAbstractXmlFileReader
- Parameters:
doc
- theDocument
of xml file- Returns:
IXmlNode
core xml element for importing object
-
read
protected XmlReaderResult read(IXmlNode node, Version version, XmlFileReaderContext readerContext)
Description copied from class:AbstractXmlFileReader
Read xml node- Specified by:
read
in classAbstractXmlFileReader
- Parameters:
node
- the core xml element for importing object, cannot benull
version
- xml runtime version, cannot benull
readerContext
- extended file reader context, cannot benull
- Returns:
- the
XmlReaderResult
as importing result, nevernull
-
-