Class XmlIdResolutionTable
Inherited Members
Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client.dll
Syntax
public class XmlIdResolutionTable
Constructors
XmlIdResolutionTable(Boolean)
Declaration
public XmlIdResolutionTable(bool includeXmlIdGlobalAttribute = true)
Parameters
Type | Name | Description |
---|---|---|
Boolean | includeXmlIdGlobalAttribute |
Methods
AddGlobalIdAttribute(String, String)
Specify an attribute to be globally considered as the ID attribute. This rule has less precedence than rules set with the SetElementIdAttribute method.
Declaration
public void AddGlobalIdAttribute(string idAttributeLocalName, string idAttributeNamespace = null)
Parameters
Type | Name | Description |
---|---|---|
String | idAttributeLocalName | Name of the attribute (e.g.: "id") |
String | idAttributeNamespace | Namespace URI of the attribute. If null, the attribute is regarded as having no namespace. The special value "xml" may be used to represent the http://www.w3.org/XML/1998/namespace namespace. |
SetElementIdAttribute(String, String, String, String)
Specify the attribute to be considered as the ID attribute for a certain element. This rule takes precedence over a global ID attribute specified with the SetGlobalIdAttribute method.
Declaration
public void SetElementIdAttribute(string elementLocalName, string elementNamespace, string idAttributeLocalName, string idAttributeNamespace = null)
Parameters
Type | Name | Description |
---|---|---|
String | elementLocalName | |
String | elementNamespace | |
String | idAttributeLocalName | |
String | idAttributeNamespace |
ToModel()
Declaration
public XmlIdResolutionTableModel ToModel()
Returns
Type | Description |
---|---|
Lacuna.RestPki.Api.XmlSignature.XmlIdResolutionTableModel |