17 using erminas.SmartAPI.CMS.Converter;
18 using erminas.SmartAPI.CMS.Project.Folder;
20 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
24 string EndOfColumn {
get;
set; }
26 string EndOfLine {
get;
set; }
28 string EndOfTable {
get;
set; }
32 bool IsSyntaxConformingToXHtml {
get;
set; }
33 int? MaxErrorCount {
get;
set; }
34 int? MaxSearchDepth {
get;
set; }
35 int? NestingLevel {
get;
set; }
37 string StartOfColumn {
get;
set; }
39 string StartOfLine {
get;
set; }
41 string StartOfTable {
get;
set; }
42 IFile XslStyleSheet {
get;
set; }
45 internal class SiteMap : ContentClassElement, ISiteMap
47 internal SiteMap(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
56 [RedDot(
"eltcolclose")]
57 public string EndOfColumn
59 get {
return GetAttributeValue<string>(); }
60 set { SetAttributeValue(value); }
63 [RedDot(
"eltrowclose")]
64 public string EndOfLine
66 get {
return GetAttributeValue<string>(); }
67 set { SetAttributeValue(value); }
70 [RedDot(
"elttableclose")]
71 public string EndOfTable
73 get {
return GetAttributeValue<string>(); }
74 set { SetAttributeValue(value); }
77 [RedDot(
"eltformat", ConverterType = typeof (EnumConverter<SiteMapFormat>))]
80 get {
return GetAttributeValue<SiteMapFormat>(); }
81 set { SetAttributeValue(value); }
84 [RedDot(
"eltxhtmlcompliant")]
85 public bool IsSyntaxConformingToXHtml
87 get {
return GetAttributeValue<bool>(); }
88 set { SetAttributeValue(value); }
91 [RedDot(
"eltdropouts")]
92 public int? MaxErrorCount
94 get {
return GetAttributeValue<int?>(); }
95 set { SetAttributeValue(value); }
98 [RedDot(
"eltsearchdepth")]
99 public int? MaxSearchDepth
101 get {
return GetAttributeValue<int?>(); }
102 set { SetAttributeValue(value); }
106 public int? NestingLevel
108 get {
return GetAttributeValue<int?>(); }
109 set { SetAttributeValue(value); }
112 [RedDot(
"eltcolopen")]
113 public string StartOfColumn
115 get {
return GetAttributeValue<string>(); }
116 set { SetAttributeValue(value); }
119 [RedDot(
"eltrowopen")]
120 public string StartOfLine
122 get {
return GetAttributeValue<string>(); }
123 set { SetAttributeValue(value); }
126 [RedDot(
"elttableopen")]
127 public string StartOfTable
129 get {
return GetAttributeValue<string>(); }
130 set { SetAttributeValue(value); }
133 [RedDot(
"__xslstylesheet", ConverterType = typeof (XslFileConverter))]
134 public IFile XslStyleSheet
136 get {
return GetAttributeValue<IFile>(); }
137 set { SetAttributeValue(value); }