Class XmlQualifiedEntity
A class designed to help assure qualified names in XML serializations.
Inheritance
Namespace: Cuemon.Xml.Serialization
Assembly: Cuemon.Xml.dll
Syntax
public sealed class XmlQualifiedEntity
Constructors
| Improve this DocXmlQualifiedEntity(String)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localName | The local name of the entity. |
XmlQualifiedEntity(String, String)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(string localName, string ns)
Parameters
Type | Name | Description |
---|---|---|
System.String | localName | The local name of the entity. |
System.String | ns | The namespace URI to associate with the entity. |
XmlQualifiedEntity(String, String, String)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(string prefix, string localName, string ns)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | The namespace prefix of the entity. |
System.String | localName | The local name of the entity. |
System.String | ns | The namespace URI to associate with the entity. |
XmlQualifiedEntity(XmlAnyElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(XmlAnyElementAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlAnyElementAttribute | attribute | The XML related attribute to extract qualified name information about. |
XmlQualifiedEntity(XmlAttributeAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(XmlAttributeAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlAttributeAttribute | attribute | The XML related attribute to extract qualified name information about. |
XmlQualifiedEntity(XmlElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(XmlElementAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlElementAttribute | attribute | The XML related attribute to extract qualified name information about. |
XmlQualifiedEntity(XmlRootAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
Declaration
public XmlQualifiedEntity(XmlRootAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlRootAttribute | attribute | The XML related attribute to extract qualified name information about. |
Properties
| Improve this DocLocalName
Gets the local name of the entity.
Declaration
public string LocalName { get; }
Property Value
Type | Description |
---|---|
System.String | The local name of the entity. |
Namespace
Gets the namespace URI to associate with the entity.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
System.String | The namespace URI to associate with the entity. |
Prefix
Gets the namespace prefix of the entity.
Declaration
public string Prefix { get; }
Property Value
Type | Description |
---|---|
System.String | The namespace prefix of the entity. |