XdmDocumentWriter ClassXdmDocumentWriter ClassXdmDocumentWriter Class

Represents a writer that provides a fast, non-cached, forwards-only means of serializing instances of the XPath 2.0 and XQuery 1.0 Data Model (XDM) to an XdmDocumentXdmDocumentXdmDocument instance.

Inheritance Hierarchy

Syntax

Public Class XdmDocumentWriter _
        Inherits XdmWriter
public class XdmDocumentWriter : XdmWriter
public:
ref class XdmDocumentWriter : XdmWriter^
 
The XdmDocumentWriterXdmDocumentWriterXdmDocumentWriter type exposes the following members.

Methods

 MethodDescription
Public methodXdmWriter.CloseXdmWriter.CloseXdmWriter::Close Closes this stream and the underlying stream. (Overrides XmlWriter.CloseXmlWriter.CloseXmlWriter::Close)
Public methodstaticCreate ()Create ()Create () Creates a XdmDocumentWriterXdmDocumentWriterXdmDocumentWriter to write to an XdmDocumentXdmDocumentXdmDocument.
Public methodstaticCreate (XmlNameTable)Create (XmlNameTable)Create (XmlNameTable^) Creates a XdmDocumentWriterXdmDocumentWriterXdmDocumentWriter to write to an XdmDocumentXdmDocumentXdmDocument with the specified name table.
Public methodstaticCreate (XmlNameTable, string)Create (XmlNameTable, String)Create (XmlNameTable^, String^) Creates a XdmDocumentWriterXdmDocumentWriterXdmDocumentWriter to write to an XdmDocumentXdmDocumentXdmDocument with the specified document URI and name table.
Protected methodXdmWriter.DisposeXdmWriter.DisposeXdmWriter::Dispose Releases the unmanaged resources used by the XmlWriterXmlWriterXmlWriter and optionally releases the managed resources. (Overrides XmlWriter.DisposeXmlWriter.DisposeXmlWriter::Dispose)
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodXdmWriter.FlushXdmWriter.FlushXdmWriter::Flush Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (Overrides XmlWriter.FlushXmlWriter.FlushXmlWriter::Flush)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodXdmWriter.LookupPrefixXdmWriter.LookupPrefixXdmWriter::LookupPrefix Returns the closest prefix defined in the current namespace scope for the namespace URI. (Overrides XmlWriter.LookupPrefixXmlWriter.LookupPrefixXmlWriter::LookupPrefix)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodXmlWriter.WriteAttributesXmlWriter.WriteAttributesXmlWriter::WriteAttributes When overridden in a derived class, writes out all the attributes found at the current position in the XmlReaderXmlReaderXmlReader. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteAttributeStringXmlWriter.WriteAttributeStringXmlWriter::WriteAttributeString When overridden in a derived class, writes out the attribute with the specified local name and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteAttributeStringXmlWriter.WriteAttributeStringXmlWriter::WriteAttributeString When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteAttributeStringXmlWriter.WriteAttributeStringXmlWriter::WriteAttributeString When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI, and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteBase64XdmWriter.WriteBase64XdmWriter::WriteBase64 Eencodes the specified binary bytes as Base64 and writes out the resulting text. (Overrides XmlWriter.WriteBase64XmlWriter.WriteBase64XmlWriter::WriteBase64)
Public methodXmlWriter.WriteBinHexXmlWriter.WriteBinHexXmlWriter::WriteBinHex When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteCDataXdmWriter.WriteCDataXdmWriter::WriteCData Writes out a <![CDATA[...]]> block containing the specified text. (Overrides XmlWriter.WriteCDataXmlWriter.WriteCDataXmlWriter::WriteCData)
Public methodXdmWriter.WriteCharEntityXdmWriter.WriteCharEntityXdmWriter::WriteCharEntity Forces the generation of a character entity for the specified Unicode character value. (Overrides XmlWriter.WriteCharEntityXmlWriter.WriteCharEntityXmlWriter::WriteCharEntity)
Public methodXdmWriter.WriteCharsXdmWriter.WriteCharsXdmWriter::WriteChars Writes text one buffer at a time. (Overrides XmlWriter.WriteCharsXmlWriter.WriteCharsXmlWriter::WriteChars)
Public methodXdmWriter.WriteCommentXdmWriter.WriteCommentXdmWriter::WriteComment Writes out a comment <!--...--> containing the specified text. (Overrides XmlWriter.WriteCommentXmlWriter.WriteCommentXmlWriter::WriteComment)
Public methodXdmWriter.WriteDocTypeXdmWriter.WriteDocTypeXdmWriter::WriteDocType Writes the DOCTYPE declaration with the specified name and optional attributes. (Overrides XmlWriter.WriteDocTypeXmlWriter.WriteDocTypeXmlWriter::WriteDocType)
Public methodXmlWriter.WriteElementStringXmlWriter.WriteElementStringXmlWriter::WriteElementString When overridden in a derived class, writes an element with the specified local name and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteElementStringXmlWriter.WriteElementStringXmlWriter::WriteElementString When overridden in a derived class, writes an element with the specified local name, namespace URI, and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteElementStringXmlWriter.WriteElementStringXmlWriter::WriteElementString Writes an element with the specified local name, namespace URI, and value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteEndAttributeXdmWriter.WriteEndAttributeXdmWriter::WriteEndAttribute Closes the previous WriteStartAttribute (string, string, string)WriteStartAttribute (String, String, String)WriteStartAttribute (String^, String^, String^) call. (Overrides XmlWriter.WriteEndAttributeXmlWriter.WriteEndAttributeXmlWriter::WriteEndAttribute)
Public methodXdmWriter.WriteEndDocumentXdmWriter.WriteEndDocumentXdmWriter::WriteEndDocument Closes any open elements or attributes and puts the writer back in the Start state. (Overrides XmlWriter.WriteEndDocumentXmlWriter.WriteEndDocumentXmlWriter::WriteEndDocument)
Public methodXdmWriter.WriteEndElementXdmWriter.WriteEndElementXdmWriter::WriteEndElement When overridden in a derived class, closes one element and pops the corresponding namespace scope. (Overrides XmlWriter.WriteEndElementXmlWriter.WriteEndElementXmlWriter::WriteEndElement)
Public methodXdmWriter.WriteEntityRefXdmWriter.WriteEntityRefXdmWriter::WriteEntityRef Writes out an entity reference as &name;. (Overrides XmlWriter.WriteEntityRefXmlWriter.WriteEntityRefXmlWriter::WriteEntityRef)
Public methodXdmWriter.WriteFullEndElementXdmWriter.WriteFullEndElementXdmWriter::WriteFullEndElement When overridden in a derived class, closes one element and pops the corresponding namespace scope. (Overrides XmlWriter.WriteFullEndElementXmlWriter.WriteFullEndElementXmlWriter::WriteFullEndElement)
Public methodXmlWriter.WriteNameXmlWriter.WriteNameXmlWriter::WriteName When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteNmTokenXmlWriter.WriteNmTokenXmlWriter::WriteNmToken When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteNodeXmlWriter.WriteNodeXmlWriter::WriteNode When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteNodeXmlWriter.WriteNodeXmlWriter::WriteNode Copies everything from the XPathNavigatorXPathNavigatorXPathNavigator object to the writer. The position of the XPathNavigatorXPathNavigatorXPathNavigator remains unchanged. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteProcessingInstructionXdmWriter.WriteProcessingInstructionXdmWriter::WriteProcessingInstruction Writes out a processing instruction with a space between the name and text as follows: <?name text?>. (Overrides XmlWriter.WriteProcessingInstructionXmlWriter.WriteProcessingInstructionXmlWriter::WriteProcessingInstruction)
Public methodXmlWriter.WriteQualifiedNameXmlWriter.WriteQualifiedNameXmlWriter::WriteQualifiedName When overridden in a derived class, writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteRaw (char[], int, int)XdmWriter.WriteRaw (Char(), Integer, Integer)XdmWriter::WriteRaw (array<char>^, int, int) Writes raw markup manually from a character buffer. (Overrides XmlWriter.WriteRawXmlWriter.WriteRawXmlWriter::WriteRaw)
Public methodXdmWriter.WriteRaw (string)XdmWriter.WriteRaw (String)XdmWriter::WriteRaw (String^) When overridden in a derived class, writes raw markup manually from a string. (Overrides XmlWriter.WriteRawXmlWriter.WriteRawXmlWriter::WriteRaw)
Public methodXdmWriter.WriteStartAttribute (string, string, string)XdmWriter.WriteStartAttribute (String, String, String)XdmWriter::WriteStartAttribute (String^, String^, String^) Writes the start of an attribute with the specified prefix, local name, and namespace URI. (Overrides XmlWriter.WriteStartAttributeXmlWriter.WriteStartAttributeXmlWriter::WriteStartAttribute)
Public methodXmlWriter.WriteStartAttributeXmlWriter.WriteStartAttributeXmlWriter::WriteStartAttribute Writes the start of an attribute with the specified local name. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteStartAttributeXmlWriter.WriteStartAttributeXmlWriter::WriteStartAttribute Writes the start of an attribute with the specified local name and namespace URI. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteStartDocument ()XdmWriter.WriteStartDocument ()XdmWriter::WriteStartDocument () Writes the XML declaration with the version "1.0". (Overrides XmlWriter.WriteStartDocumentXmlWriter.WriteStartDocumentXmlWriter::WriteStartDocument)
Public methodXdmWriter.WriteStartDocument (bool)XdmWriter.WriteStartDocument (Boolean)XdmWriter::WriteStartDocument (bool) Writes the XML declaration with the version "1.0" and the standalone attribute. (Overrides XmlWriter.WriteStartDocumentXmlWriter.WriteStartDocumentXmlWriter::WriteStartDocument)
Public methodXdmWriter.WriteStartElement (string, string, string)XdmWriter.WriteStartElement (String, String, String)XdmWriter::WriteStartElement (String^, String^, String^) Writes the specified start tag and associates it with the given namespace and prefix. (Overrides XmlWriter.WriteStartElementXmlWriter.WriteStartElementXmlWriter::WriteStartElement)
Public methodXmlWriter.WriteStartElementXmlWriter.WriteStartElementXmlWriter::WriteStartElement When overridden in a derived class, writes out a start tag with the specified local name. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteStartElementXmlWriter.WriteStartElementXmlWriter::WriteStartElement When overridden in a derived class, writes the specified start tag and associates it with the given namespace. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteStringXdmWriter.WriteStringXdmWriter::WriteString Writes the given text content. (Overrides XmlWriter.WriteStringXmlWriter.WriteStringXmlWriter::WriteString)
Public methodXdmWriter.WriteSurrogateCharEntityXdmWriter.WriteSurrogateCharEntityXdmWriter::WriteSurrogateCharEntity Generates and writes the surrogate character entity for the surrogate character pair. (Overrides XmlWriter.WriteSurrogateCharEntityXmlWriter.WriteSurrogateCharEntityXmlWriter::WriteSurrogateCharEntity)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a boolBooleanbool value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a DateTimeDateDateTime value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a decimalDecimaldecimal value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a doubleDoubledouble value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a intIntegerint value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a longLonglong value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes the object value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a single-precision floating-point number. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXmlWriter.WriteValueXmlWriter.WriteValueXmlWriter::WriteValue Writes a stringStringString value. (Inherited from System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter)
Public methodXdmWriter.WriteWhitespaceXdmWriter.WriteWhitespaceXdmWriter::WriteWhitespace Writes out the given white space. (Overrides XmlWriter.WriteWhitespaceXmlWriter.WriteWhitespaceXmlWriter::WriteWhitespace)

Top

Explicit Interface Implementations

Top