SaaS CMS has officially launched! Learn more now.

Class ContentModel

Inheritance
System.Object
ContentModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sgml
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ContentModel

Constructors

ContentModel()

Declaration
public ContentModel()

Fields

CurrentDepth

Declaration
public int CurrentDepth
Field Value
Type Description
System.Int32

DeclaredContent

Declaration
public DeclaredContent DeclaredContent
Field Value
Type Description
DeclaredContent

Model

Declaration
public Group Model
Field Value
Type Description
Group

Methods

AddConnector(Char)

Declaration
public void AddConnector(char c)
Parameters
Type Name Description
System.Char c

AddOccurrence(Char)

Declaration
public void AddOccurrence(char c)
Parameters
Type Name Description
System.Char c

AddSymbol(String)

Declaration
public void AddSymbol(string sym)
Parameters
Type Name Description
System.String sym

CanContain(String, SgmlDtd)

Declaration
public bool CanContain(string name, SgmlDtd dtd)
Parameters
Type Name Description
System.String name
SgmlDtd dtd
Returns
Type Description
System.Boolean

PopGroup()

Declaration
public int PopGroup()
Returns
Type Description
System.Int32

PushGroup()

Declaration
public void PushGroup()

SetDeclaredContent(String)

Declaration
public void SetDeclaredContent(string dc)
Parameters
Type Name Description
System.String dc

Extension Methods