/// <summary> /// Converts @altsym /// </summary> /// <param name="_meiSignElement">MEI element with @altsym</param> /// <returns>Sign value</returns> private static Sign GetSign(IAttAltsym _meiSignElement) { if (_meiSignElement.GetAltsymValue() == null) { return(Sign.None); } else if (Enum.TryParse(_meiSignElement.GetAltsymValue().Substring(1), true, out Sign sign)) { return(sign); } else { return(Sign.Invalid); } }
public static void RemoveAltsym(this IAttAltsym e) { MeiAtt_controller.RemoveAttribute(e, "altsym"); }
public static bool HasAltsym(this IAttAltsym e) { return(MeiAtt_controller.HasAttribute(e, "altsym")); }
public static string GetAltsymValue(this IAttAltsym e) { return(MeiAtt_controller.GetAttributeValue(e, "altsym")); }
public static XAttribute GetAltsymAttribute(this IAttAltsym e) { return(MeiAtt_controller.GetAttribute(e, "altsym")); }
public static void SetAltsym(this IAttAltsym e, string _val) { MeiAtt_controller.SetAttribute(e, "altsym", _val); }