C# 클래스 CCNet.Build.Confluence.PageDocument

Represents confluence page as XML document.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions 1 사용 예제들

공개 메소드들

메소드 설명
BuildBody ( ) : System.Xml.Linq.XElement

Builds rich text body section.

BuildColumn ( string width, System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement

Builds "Column" macro block.

BuildEmoticon ( string emoticon ) : System.Xml.Linq.XElement

Builds emoticon symbol.

BuildImage ( string imageUrl ) : System.Xml.Linq.XElement

Builds "Image" block.

BuildInfo ( System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement

Builds "Info" macro block.

BuildPageLink ( string pageTitle ) : System.Xml.Linq.XElement

Builds "Page link" block.

BuildPageLink ( string pageTitle, string linkText ) : System.Xml.Linq.XElement

Builds "Page link" block.

BuildPageLink ( string pageTitle, string pageAnchor, string linkText ) : System.Xml.Linq.XElement

Builds "Page link" block.

BuildSection ( System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement

Builds "Section" macro block.

BuildStatus ( string title, StatusColor color, bool outline ) : System.Xml.Linq.XElement

Builds "Status" macro block.

BuildToc ( ) : System.Xml.Linq.XElement

Builds "Table of Contents" macro block.

BuildUserLink ( string userKey ) : System.Xml.Linq.XElement

Builds "User link" block.

DecodeEntities ( string content ) : string

Encodes all HTML entities back to their original representation.

EncodeEntities ( string content ) : string

Encodes all HTML entities to avoid confusions for XML parser.

Nm ( string name ) : System.Xml.Linq.XName

Builds XML name using internal namespace prefixes.

PageDocument ( string content = null ) : System

Initializes a new instance.

Render ( ) : string

Renders page content back to its XML representation.

비공개 메소드들

메소드 설명
Attribute ( string name, object value ) : System.Xml.Linq.XAttribute

Builds new attribute, using internal namespace prefixes.

BuildPageLink ( string>.Tuple pageTitleAndAnchor, System.Xml.Linq.XElement linkBody ) : System.Xml.Linq.XElement

Builds "Page link" block.

CheckBody ( System.Xml.Linq.XElement body ) : void

Makes sure specified element is a rich text body section.

Element ( string name ) : System.Xml.Linq.XElement

Builds new element, using internal namespace prefixes.

PageDocument ( ) : System
ParseDocument ( string content ) : System.Xml.Linq.XDocument

Creates XML document for specified page content.

메소드 상세

BuildBody() 공개 정적인 메소드

Builds rich text body section.
public static BuildBody ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

BuildColumn() 공개 정적인 메소드

Builds "Column" macro block.
public static BuildColumn ( string width, System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement
width string
body System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

BuildEmoticon() 공개 정적인 메소드

Builds emoticon symbol.
public static BuildEmoticon ( string emoticon ) : System.Xml.Linq.XElement
emoticon string
리턴 System.Xml.Linq.XElement

BuildImage() 공개 정적인 메소드

Builds "Image" block.
public static BuildImage ( string imageUrl ) : System.Xml.Linq.XElement
imageUrl string
리턴 System.Xml.Linq.XElement

BuildInfo() 공개 정적인 메소드

Builds "Info" macro block.
public static BuildInfo ( System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement
body System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

BuildPageLink() 공개 정적인 메소드

Builds "Page link" block.
public static BuildPageLink ( string pageTitle ) : System.Xml.Linq.XElement
pageTitle string
리턴 System.Xml.Linq.XElement

BuildPageLink() 공개 정적인 메소드

Builds "Page link" block.
public static BuildPageLink ( string pageTitle, string linkText ) : System.Xml.Linq.XElement
pageTitle string
linkText string
리턴 System.Xml.Linq.XElement

BuildPageLink() 공개 정적인 메소드

Builds "Page link" block.
public static BuildPageLink ( string pageTitle, string pageAnchor, string linkText ) : System.Xml.Linq.XElement
pageTitle string
pageAnchor string
linkText string
리턴 System.Xml.Linq.XElement

BuildSection() 공개 정적인 메소드

Builds "Section" macro block.
public static BuildSection ( System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement
body System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

BuildStatus() 공개 정적인 메소드

Builds "Status" macro block.
public static BuildStatus ( string title, StatusColor color, bool outline ) : System.Xml.Linq.XElement
title string
color StatusColor
outline bool
리턴 System.Xml.Linq.XElement

BuildToc() 공개 정적인 메소드

Builds "Table of Contents" macro block.
public static BuildToc ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

BuildUserLink() 공개 정적인 메소드

Builds "User link" block.
public static BuildUserLink ( string userKey ) : System.Xml.Linq.XElement
userKey string
리턴 System.Xml.Linq.XElement

DecodeEntities() 공개 정적인 메소드

Encodes all HTML entities back to their original representation.
public static DecodeEntities ( string content ) : string
content string
리턴 string

EncodeEntities() 공개 정적인 메소드

Encodes all HTML entities to avoid confusions for XML parser.
public static EncodeEntities ( string content ) : string
content string
리턴 string

Nm() 공개 정적인 메소드

Builds XML name using internal namespace prefixes.
public static Nm ( string name ) : System.Xml.Linq.XName
name string
리턴 System.Xml.Linq.XName

PageDocument() 공개 메소드

Initializes a new instance.
public PageDocument ( string content = null ) : System
content string
리턴 System

Render() 공개 메소드

Renders page content back to its XML representation.
public Render ( ) : string
리턴 string