C# Class BlogML.BlogMLWriterBase

Afficher le fichier Open project: Gutek/MovingScrewdriver

Méthodes publiques

Méthode Description
Write ( XmlWriter writer ) : void

Méthodes protégées

Méthode Description
FormatDateTime ( System.DateTime date ) : string
InternalWriteBlog ( ) : void
WriteAttachment ( string embeddedUrl, double size, string mimeType, string externalUri, bool embedded, byte data ) : void
WriteAttachment ( string embeddedUrl, string mimeType, Stream inputStream ) : void
WriteAttachment ( string externalUri, string mimeType, string fullUrl ) : void
WriteAttributeString ( string name, string value ) : void
WriteAttributeStringRequired ( string name, string value ) : void
WriteAuthor ( string id, string name, string email, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
WriteAuthorReference ( string refId ) : void
WriteCategory ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
WriteCategory ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
WriteCategoryReference ( string refId ) : void
WriteComment ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, BlogMLContent content ) : void
WriteComment ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content, ContentTypes commentContentType ) : void
WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void
WriteContent ( string elementName, BlogMLContent content ) : void
WriteEndElement ( ) : void
WriteExtendedProperty ( string name, string value ) : void
WriteNodeAttributes ( string id, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
WriteStartAttachments ( ) : void
WriteStartAuthors ( ) : void
WriteStartBlog ( string title, ContentTypes titleContentType, string subTitle, ContentTypes subTitleContentType, string rootUrl, System.DateTime dateCreated ) : void
WriteStartBlog ( string title, string subTitle, string rootUrl ) : void
WriteStartBlog ( string title, string subTitle, string rootUrl, System.DateTime dateCreated ) : void
WriteStartCategories ( ) : void
WriteStartComments ( ) : void
WriteStartElement ( string tag ) : void
WriteStartExtendedProperties ( ) : void
WriteStartPost ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, BlogMLContent content, string postUrl, UInt32 views, bool hasexcerpt, BlogMLContent excerpt, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, ContentTypes postContentType, string postUrl, UInt32 views, bool hasexcerpt, string excerpt, ContentTypes excerptContentType, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, string excerpt, BlogPostTypes blogpostType, string postName ) : void
WriteStartPosts ( ) : void
WriteStartTrackbacks ( ) : void
WriteTrackback ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
WriteTrackback ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void

Private Methods

Méthode Description
CopyStream ( Stream src, Stream dst ) : void

Method Details

FormatDateTime() protected méthode

protected FormatDateTime ( System.DateTime date ) : string
date System.DateTime
Résultat string

InternalWriteBlog() protected abstract méthode

protected abstract InternalWriteBlog ( ) : void
Résultat void

Write() public méthode

public Write ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Résultat void

WriteAttachment() protected méthode

protected WriteAttachment ( string embeddedUrl, double size, string mimeType, string externalUri, bool embedded, byte data ) : void
embeddedUrl string
size double
mimeType string
externalUri string
embedded bool
data byte
Résultat void

WriteAttachment() protected méthode

protected WriteAttachment ( string embeddedUrl, string mimeType, Stream inputStream ) : void
embeddedUrl string
mimeType string
inputStream Stream
Résultat void

WriteAttachment() protected méthode

protected WriteAttachment ( string externalUri, string mimeType, string fullUrl ) : void
externalUri string
mimeType string
fullUrl string
Résultat void

WriteAttributeString() protected méthode

protected WriteAttributeString ( string name, string value ) : void
name string
value string
Résultat void

WriteAttributeStringRequired() protected méthode

protected WriteAttributeStringRequired ( string name, string value ) : void
name string
value string
Résultat void

WriteAuthor() protected méthode

protected WriteAuthor ( string id, string name, string email, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
id string
name string
email string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
Résultat void

WriteAuthorReference() protected méthode

protected WriteAuthorReference ( string refId ) : void
refId string
Résultat void

WriteCategory() protected méthode

protected WriteCategory ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
description string
parentRef string
Résultat void

WriteCategory() protected méthode

protected WriteCategory ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
description string
parentRef string
Résultat void

WriteCategoryReference() protected méthode

protected WriteCategoryReference ( string refId ) : void
refId string
Résultat void

WriteComment() protected méthode

protected WriteComment ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, BlogMLContent content ) : void
id string
title BlogML.Xml.BlogMLContent
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content BlogML.Xml.BlogMLContent
Résultat void

WriteComment() protected méthode

protected WriteComment ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content, ContentTypes commentContentType ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content string
commentContentType ContentTypes
Résultat void

WriteComment() protected méthode

protected WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content string
Résultat void

WriteContent() protected méthode

protected WriteContent ( string elementName, BlogMLContent content ) : void
elementName string
content BlogML.Xml.BlogMLContent
Résultat void

WriteEndElement() protected méthode

protected WriteEndElement ( ) : void
Résultat void

WriteExtendedProperty() protected méthode

protected WriteExtendedProperty ( string name, string value ) : void
name string
value string
Résultat void

WriteNodeAttributes() protected méthode

protected WriteNodeAttributes ( string id, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
id string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
Résultat void

WriteStartAttachments() protected méthode

protected WriteStartAttachments ( ) : void
Résultat void

WriteStartAuthors() protected méthode

protected WriteStartAuthors ( ) : void
Résultat void

WriteStartBlog() protected méthode

protected WriteStartBlog ( string title, ContentTypes titleContentType, string subTitle, ContentTypes subTitleContentType, string rootUrl, System.DateTime dateCreated ) : void
title string
titleContentType ContentTypes
subTitle string
subTitleContentType ContentTypes
rootUrl string
dateCreated System.DateTime
Résultat void

WriteStartBlog() protected méthode

protected WriteStartBlog ( string title, string subTitle, string rootUrl ) : void
title string
subTitle string
rootUrl string
Résultat void

WriteStartBlog() protected méthode

protected WriteStartBlog ( string title, string subTitle, string rootUrl, System.DateTime dateCreated ) : void
title string
subTitle string
rootUrl string
dateCreated System.DateTime
Résultat void

WriteStartCategories() protected méthode

protected WriteStartCategories ( ) : void
Résultat void

WriteStartComments() protected méthode

protected WriteStartComments ( ) : void
Résultat void

WriteStartElement() protected méthode

protected WriteStartElement ( string tag ) : void
tag string
Résultat void

WriteStartExtendedProperties() protected méthode

protected WriteStartExtendedProperties ( ) : void
Résultat void

WriteStartPost() protected méthode

protected WriteStartPost ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, BlogMLContent content, string postUrl, UInt32 views, bool hasexcerpt, BlogMLContent excerpt, BlogPostTypes blogpostType, string postName ) : void
id string
title BlogML.Xml.BlogMLContent
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content BlogML.Xml.BlogMLContent
postUrl string
views System.UInt32
hasexcerpt bool
excerpt BlogML.Xml.BlogMLContent
blogpostType BlogPostTypes
postName string
Résultat void

WriteStartPost() protected méthode

protected WriteStartPost ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, ContentTypes postContentType, string postUrl, UInt32 views, bool hasexcerpt, string excerpt, ContentTypes excerptContentType, BlogPostTypes blogpostType, string postName ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postContentType ContentTypes
postUrl string
views System.UInt32
hasexcerpt bool
excerpt string
excerptContentType ContentTypes
blogpostType BlogPostTypes
postName string
Résultat void

WriteStartPost() protected méthode

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
Résultat void

WriteStartPost() protected méthode

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, BlogPostTypes blogpostType, string postName ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
views System.UInt32
blogpostType BlogPostTypes
postName string
Résultat void

WriteStartPost() protected méthode

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, string excerpt, BlogPostTypes blogpostType, string postName ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
views System.UInt32
excerpt string
blogpostType BlogPostTypes
postName string
Résultat void

WriteStartPosts() protected méthode

protected WriteStartPosts ( ) : void
Résultat void

WriteStartTrackbacks() protected méthode

protected WriteStartTrackbacks ( ) : void
Résultat void

WriteTrackback() protected méthode

protected WriteTrackback ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
url string
Résultat void

WriteTrackback() protected méthode

protected WriteTrackback ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
url string
Résultat void