using System.Xml; namespace Arthea.Database { /// <summary> /// Implementation of db writer. /// </summary> public class DbWriter : XmlWriter { ///<summary> ///When overridden in a derived class, writes the XML declaration with the version "1.0". ///</summary> /// ///<exception cref="T:System.InvalidOperationException">This is not the first write method called after the constructor. </exception> public override void WriteStartDocument() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. ///</summary> /// ///<param name="standalone">If true, it writes "standalone=yes"; if false, it writes "standalone=no". </param> ///<exception cref="T:System.InvalidOperationException">This is not the first write method called after the constructor. </exception> public override void WriteStartDocument(bool standalone) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. ///</summary> /// ///<exception cref="T:System.ArgumentException">The XML document is invalid. </exception> public override void WriteEndDocument() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. ///</summary> /// ///<param name="pubid">If non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid are replaced with the value of the given arguments. </param> ///<param name="name">The name of the DOCTYPE. This must be non-empty. </param> ///<param name="sysid">If pubid is null and sysid is non-null it writes SYSTEM "sysid" where sysid is replaced with the value of this argument. </param> ///<param name="subset">If non-null it writes [subset] where subset is replaced with the value of this argument. </param> ///<exception cref="T:System.ArgumentException">The value for name would result in invalid XML. </exception> ///<exception cref="T:System.InvalidOperationException">This method was called outside the prolog (after the root element). </exception> public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. ///</summary> /// ///<param name="localName">The local name of the element. </param> ///<param name="prefix">The namespace prefix of the element. </param> ///<param name="ns">The namespace URI to associate with the element. </param> ///<exception cref="T:System.InvalidOperationException">The writer is closed. </exception> public override void WriteStartElement(string prefix, string localName, string ns) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, closes one element and pops the corresponding namespace scope. ///</summary> /// ///<exception cref="T:System.InvalidOperationException">This results in an invalid XML document. </exception> public override void WriteEndElement() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, closes one element and pops the corresponding namespace scope. ///</summary> /// public override void WriteFullEndElement() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. ///</summary> /// ///<param name="localName">The local name of the attribute. </param> ///<param name="prefix">The namespace prefix of the attribute. </param> ///<param name="ns">The namespace URI for the attribute. </param> public override void WriteStartAttribute(string prefix, string localName, string ns) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, closes the previous <see cref="M:System.Xml.XmlWriter.WriteStartAttribute(System.String,System.String)"></see> call. ///</summary> /// public override void WriteEndAttribute() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. ///</summary> /// ///<param name="text">The text to place inside the CDATA block. </param> ///<exception cref="T:System.ArgumentException">The text would result in a non-well formed XML document. </exception> public override void WriteCData(string text) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes out a comment <!--...--> containing the specified text. ///</summary> /// ///<param name="text">Text to place inside the comment. </param> ///<exception cref="T:System.ArgumentException">The text would result in a non-well formed XML document. </exception> public override void WriteComment(string text) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. ///</summary> /// ///<param name="name">The name of the processing instruction. </param> ///<param name="text">The text to include in the processing instruction. </param> ///<exception cref="T:System.ArgumentException">The text would result in a non-well formed XML document.name is either null or String.Empty.This method is being used to create an XML declaration after <see cref="M:System.Xml.XmlWriter.WriteStartDocument"></see> has already been called. </exception> public override void WriteProcessingInstruction(string name, string text) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes out an entity reference as &name;. ///</summary> /// ///<param name="name">The name of the entity reference. </param> ///<exception cref="T:System.ArgumentException">name is either null or String.Empty. </exception> public override void WriteEntityRef(string name) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. ///</summary> /// ///<param name="ch">The Unicode character for which to generate a character entity. </param> ///<exception cref="T:System.ArgumentException">The character is in the surrogate pair character range, 0xd800 - 0xdfff. </exception> public override void WriteCharEntity(char ch) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes out the given white space. ///</summary> /// ///<param name="ws">The string of white space characters. </param> ///<exception cref="T:System.ArgumentException">The string contains non-white space characters. </exception> public override void WriteWhitespace(string ws) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes the given text content. ///</summary> /// ///<param name="text">The text to write. </param> ///<exception cref="T:System.ArgumentException">The text string contains an invalid surrogate pair. </exception> public override void WriteString(string text) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. ///</summary> /// ///<param name="highChar">The high surrogate. This must be a value between 0xD800 and 0xDBFF. </param> ///<param name="lowChar">The low surrogate. This must be a value between 0xDC00 and 0xDFFF. </param> ///<exception cref="T:System.Exception">An invalid surrogate character pair was passed. </exception> public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes text one buffer at a time. ///</summary> /// ///<param name="count">The number of characters to write. </param> ///<param name="buffer">Character array containing the text to write. </param> ///<param name="index">The position in the buffer indicating the start of the text to write. </param> ///<exception cref="T:System.ArgumentNullException">buffer is null. </exception> ///<exception cref="T:System.ArgumentOutOfRangeException">index or count is less than zero. -or-The buffer length minus index is less than count; the call results in surrogate pair characters being split or an invalid surrogate pair being written.</exception> public override void WriteChars(char[] buffer, int index, int count) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes raw markup manually from a character buffer. ///</summary> /// ///<param name="count">The number of characters to write. </param> ///<param name="buffer">Character array containing the text to write. </param> ///<param name="index">The position within the buffer indicating the start of the text to write. </param> ///<exception cref="T:System.ArgumentNullException">buffer is null. </exception> ///<exception cref="T:System.ArgumentOutOfRangeException">index or count is less than zero. -or-The buffer length minus index is less than count.</exception> public override void WriteRaw(char[] buffer, int index, int count) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, writes raw markup manually from a string. ///</summary> /// ///<param name="data">String containing the text to write. </param> public override void WriteRaw(string data) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. ///</summary> /// ///<param name="count">The number of bytes to write. </param> ///<param name="buffer">Byte array to encode. </param> ///<param name="index">The position in the buffer indicating the start of the bytes to write. </param> ///<exception cref="T:System.ArgumentException">The buffer length minus index is less than count. </exception> ///<exception cref="T:System.ArgumentNullException">buffer is null. </exception> ///<exception cref="T:System.ArgumentOutOfRangeException">index or count is less than zero. </exception> public override void WriteBase64(byte[] buffer, int index, int count) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, closes this stream and the underlying stream. ///</summary> /// ///<exception cref="T:System.InvalidOperationException">A call is made to write more output after Close has been called or the result of this call is an invalid XML document. </exception> public override void Close() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. ///</summary> /// public override void Flush() { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. ///</summary> /// ///<returns> ///The matching prefix or null if no matching namespace URI is found in the current scope. ///</returns> /// ///<param name="ns">The namespace URI whose prefix you want to find. </param> ///<exception cref="T:System.ArgumentException">ns is either null or String.Empty. </exception> public override string LookupPrefix(string ns) { throw new System.NotImplementedException(); } ///<summary> ///When overridden in a derived class, gets the state of the writer. ///</summary> /// ///<returns> ///One of the <see cref="T:System.Xml.WriteState"></see> values. ///</returns> /// public override WriteState WriteState { get { throw new System.NotImplementedException(); } } } }