Class EbicsElement

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll
public abstract class EbicsElement
Inheritance
EbicsElement
Derived
Inherited Members

Remarks

Base class for all classes that directly represent EBICS XML elements. This base class defines common generic methods for converting the data to and from various XML formats.

Methods

BuildXml(XmlDocument, EbicsVersion)

Builds a new XmlElement instance with the data of this EbicsElement.

public abstract XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)

Parameters

xmlDocument XmlDocument

The XmlDocument that shall own the new XmlElement. All nodes of the XML that is built by this method must be created from this XML document. This parameter must not be null.

nVersion EbicsVersion

The EBICS version that the built XML element shall adhere to. This version implicitly also selects the namespace to be used for the EBICS XML tags in the output.

Returns

XmlElement

Remarks

This method must be implemented by a derived class.

BuildXmlDocument(EbicsVersion)

Builds a new XML document that contains this XML element as the document element.

public XmlDocument BuildXmlDocument(EbicsVersion nVersion)

Parameters

nVersion EbicsVersion

Returns

XmlDocument

FromBuffer(EbicsDataBuffer, EbicsVersion)

Loads this EbicsElement from a binary buffer.

public void FromBuffer(EbicsDataBuffer aBuffer, EbicsVersion nVersion)

Parameters

aBuffer EbicsDataBuffer
nVersion EbicsVersion

Load(Stream, EbicsVersion)

Loads this EbicsElement from a XML document stream.

public void Load(Stream aStream, EbicsVersion nVersion)

Parameters

aStream Stream
nVersion EbicsVersion

Load(string, EbicsVersion)

Loads this EbicsElement from a XML document file.

public void Load(string sFileName, EbicsVersion nVersion)

Parameters

sFileName string
nVersion EbicsVersion

ParseXml(XmlElement, EbicsVersion)

Extract data for this EbicsElement from the given XmlElement.

public abstract void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)

Parameters

xmlElement XmlElement

The XML element to be parsed.

nVersion EbicsVersion

The EBICS version that the given XML element adheres to. This version implicitly selects the namespace of the expected EBICS XML tags.

Remarks

This method must be implemented by a derived class.

Save(Stream, EbicsVersion)

Saves this EbicsElement in a XML document stream.

public void Save(Stream aStream, EbicsVersion nVersion)

Parameters

aStream Stream
nVersion EbicsVersion

Save(string, EbicsVersion)

Saves this EbicsElement in a XML document file.

public void Save(string sFileName, EbicsVersion nVersion)

Parameters

sFileName string
nVersion EbicsVersion

ToBuffer(EbicsVersion)

Saves this EbicsElement in a binary buffer.

public EbicsDataBuffer ToBuffer(EbicsVersion nVersion)

Parameters

nVersion EbicsVersion

Returns

EbicsDataBuffer