Modifica

Condividi tramite


ServiceDocumentFormatter Class

Definition

An abstract class used as a base class for other formatters, such as AtomPub10ServiceDocumentFormatter.

public ref class ServiceDocumentFormatter abstract
[System.Runtime.Serialization.DataContract]
public abstract class ServiceDocumentFormatter
[<System.Runtime.Serialization.DataContract>]
type ServiceDocumentFormatter = class
Public MustInherit Class ServiceDocumentFormatter
Inheritance
ServiceDocumentFormatter
Derived
Attributes

Remarks

This class is abstract and cannot be instantiated directly.

Constructors

ServiceDocumentFormatter()

Creates a new instance of the ServiceDocumentFormatter class.

ServiceDocumentFormatter(ServiceDocument)

Creates a new instance of the ServiceDocumentFormatter class.

Properties

Document

Gets the ServiceDocument associated with the formatter.

Version

Gets the version of the formatter.

Methods

CanRead(XmlReader)

Verifies whether the specified XmlReader contains a valid service document.

CreateCategory(InlineCategoriesDocument)

Creates a new instance of the SyndicationCategory class.

CreateCollection(Workspace)

Creates a new ResourceCollectionInfo instance.

CreateDocumentInstance()

Creates a new ServiceDocument instance.

CreateInlineCategories(ResourceCollectionInfo)

Creates a new InlineCategoriesDocument.

CreateReferencedCategories(ResourceCollectionInfo)

Creates a new ReferencedCategoriesDocument.

CreateWorkspace(ServiceDocument)

Creates a new Workspace.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadElementExtensions(XmlReader, CategoriesDocument, Int32)

Loads element extensions.

LoadElementExtensions(XmlReader, ResourceCollectionInfo, Int32)

Loads element extensions.

LoadElementExtensions(XmlReader, ServiceDocument, Int32)

Loads element extensions.

LoadElementExtensions(XmlReader, Workspace, Int32)

Loads element extensions.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadFrom(XmlReader)

Reads a service document from the specified XmlReader.

SetDocument(ServiceDocument)

Sets the ServiceDocument to write.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryParseAttribute(String, String, String, CategoriesDocument, String)

Attempts to parse an attribute extension.

TryParseAttribute(String, String, String, ResourceCollectionInfo, String)

Attempts to parse an attribute extension.

TryParseAttribute(String, String, String, ServiceDocument, String)

Attempts to parse an attribute extensions.

TryParseAttribute(String, String, String, Workspace, String)

Attempts to parse an attribute extension.

TryParseElement(XmlReader, CategoriesDocument, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, ResourceCollectionInfo, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, ServiceDocument, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, Workspace, String)

Attempts to parse an element extension.

WriteAttributeExtensions(XmlWriter, CategoriesDocument, String)

Writes attribute extensions.

WriteAttributeExtensions(XmlWriter, ResourceCollectionInfo, String)

Writes attribute extensions.

WriteAttributeExtensions(XmlWriter, ServiceDocument, String)

Writes attribute extensions.

WriteAttributeExtensions(XmlWriter, Workspace, String)

Writes attribute extensions.

WriteElementExtensions(XmlWriter, CategoriesDocument, String)

Writes element extensions.

WriteElementExtensions(XmlWriter, ResourceCollectionInfo, String)

Writes element extensions.

WriteElementExtensions(XmlWriter, ServiceDocument, String)

Writes element extensions.

WriteElementExtensions(XmlWriter, Workspace, String)

Writes element extensions.

WriteTo(XmlWriter)

Writes a service document to the specified XmlWriter.

Applies to