Class EbicsElement
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
xmlDocumentXmlDocumentThe 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.nVersionEbicsVersionThe 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
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
nVersionEbicsVersion
Returns
FromBuffer(EbicsDataBuffer, EbicsVersion)
Loads this EbicsElement from a binary buffer.
public void FromBuffer(EbicsDataBuffer aBuffer, EbicsVersion nVersion)
Parameters
aBufferEbicsDataBuffernVersionEbicsVersion
Load(Stream, EbicsVersion)
Loads this EbicsElement from a XML document stream.
public void Load(Stream aStream, EbicsVersion nVersion)
Parameters
aStreamStreamnVersionEbicsVersion
Load(string, EbicsVersion)
Loads this EbicsElement from a XML document file.
public void Load(string sFileName, EbicsVersion nVersion)
Parameters
sFileNamestringnVersionEbicsVersion
ParseXml(XmlElement, EbicsVersion)
Extract data for this EbicsElement from the given XmlElement.
public abstract void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)
Parameters
xmlElementXmlElementThe XML element to be parsed.
nVersionEbicsVersionThe 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
aStreamStreamnVersionEbicsVersion
Save(string, EbicsVersion)
Saves this EbicsElement in a XML document file.
public void Save(string sFileName, EbicsVersion nVersion)
Parameters
sFileNamestringnVersionEbicsVersion
ToBuffer(EbicsVersion)
Saves this EbicsElement in a binary buffer.
public EbicsDataBuffer ToBuffer(EbicsVersion nVersion)
Parameters
nVersionEbicsVersion