mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Erste checks
This commit is contained in:
15
HaWeb/Settings/NodeRules/AutopsicNode.cs
Normal file
15
HaWeb/Settings/NodeRules/AutopsicNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class AutopsicNode : INodeRule
|
||||
{
|
||||
public string Name => "autopsic";
|
||||
public string XPath => "//autopsic";
|
||||
public string[]? Attributes { get; } = { "value" };
|
||||
public string? uniquenessAttribute => "value" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
16
HaWeb/Settings/NodeRules/EditNode.cs
Normal file
16
HaWeb/Settings/NodeRules/EditNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class EditNode : INodeRule
|
||||
{
|
||||
public string Name => "edit";
|
||||
public string XPath => "//edit";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => null;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
("ref", "//editreason", "index")
|
||||
};
|
||||
}
|
||||
16
HaWeb/Settings/NodeRules/HandNode.cs
Normal file
16
HaWeb/Settings/NodeRules/HandNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class HandNode : INodeRule
|
||||
{
|
||||
public string Name => "hand";
|
||||
public string XPath => "//hand";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => null;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
("ref", "//handDef", "index")
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/KommentarNode.cs
Normal file
15
HaWeb/Settings/NodeRules/KommentarNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class KommentarNode : INodeRule
|
||||
{
|
||||
public string Name => "kommentar";
|
||||
public string XPath => "//kommentar";
|
||||
public string[]? Attributes { get; } = { "id" };
|
||||
public string? uniquenessAttribute => "id" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/LetterDescNode.cs
Normal file
15
HaWeb/Settings/NodeRules/LetterDescNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class LetterDescNode : INodeRule
|
||||
{
|
||||
public string Name => "letterDesc";
|
||||
public string XPath => "//letterDesc";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => "ref" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/LetterTextNode.cs
Normal file
15
HaWeb/Settings/NodeRules/LetterTextNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class LetterTextNode : INodeRule
|
||||
{
|
||||
public string Name => "letterText";
|
||||
public string XPath => "//letterText";
|
||||
public string[]? Attributes { get; } = { "index" };
|
||||
public string? uniquenessAttribute => "index" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/LetterTraditionNode.cs
Normal file
15
HaWeb/Settings/NodeRules/LetterTraditionNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class LetterTraditionNode : INodeRule
|
||||
{
|
||||
public string Name => "letterTradition";
|
||||
public string XPath => "//letterTradition";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => "ref" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/MarginalNode.cs
Normal file
15
HaWeb/Settings/NodeRules/MarginalNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class MarginalNode : INodeRule
|
||||
{
|
||||
public string Name => "marginal";
|
||||
public string XPath => "//marginal";
|
||||
public string[]? Attributes { get; } = { "index", "letter", "page", "line" };
|
||||
public string? uniquenessAttribute => "index";
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
16
HaWeb/Settings/NodeRules/ReceiverNode.cs
Normal file
16
HaWeb/Settings/NodeRules/ReceiverNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class Receiver : INodeRule
|
||||
{
|
||||
public string Name => "receiver";
|
||||
public string XPath => "//receiver";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => null;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
("ref", "//personDef", "index")
|
||||
};
|
||||
}
|
||||
16
HaWeb/Settings/NodeRules/SenderNode.cs
Normal file
16
HaWeb/Settings/NodeRules/SenderNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class SenderNode : INodeRule
|
||||
{
|
||||
public string Name => "sender";
|
||||
public string XPath => "//sender";
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => null;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
("ref", "//personDef", "index")
|
||||
};
|
||||
}
|
||||
15
HaWeb/Settings/NodeRules/SubsectionNode.cs
Normal file
15
HaWeb/Settings/NodeRules/SubsectionNode.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Settings.NodeRules;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using HaWeb.XMLTests;
|
||||
|
||||
public class SubsectionNode : INodeRule
|
||||
{
|
||||
public string Name => "subsection";
|
||||
public string XPath => "//subsection";
|
||||
public string[]? Attributes { get; } = { "id" };
|
||||
public string? uniquenessAttribute => "id" ;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
{
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user