Creates XmlNode wrapper instances for different XML APIs, for use in XML serialization.

Namespace: Mvp.Xml.Common
Assembly: Mvp.Xml (in Mvp.Xml.dll)

Syntax

Visual Basic (Declaration)
Public Class XmlNodeFactory
C#
public class XmlNodeFactory
C++
ref class XmlNodeFactory
J#
public class XmlNodeFactory
JScript
public class XmlNodeFactory

Remarks

XmlNode instances returned by this factory only support the WriteTo and WriteContentTo methods, as they are intended for use only for serialization, and to avoid XmlDocument loading for fast performance. All other members will throw an NotSupportedException.

Author: Daniel Cazzulino, kzu.net@gmail.com

See: http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx and http://weblogs.asp.net/cazzu/posts/XmlMessagePerformance.aspx.

Inheritance Hierarchy

System.Object
   Mvp.Xml.Common.XmlNodeFactory

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also