Class XmlQualifiedEntity
- Namespace
- Cuemon.Xml.Serialization
- Assembly
- Cuemon.Xml.dll
A class designed to help assure qualified names in XML serializations.
public sealed class XmlQualifiedEntity
- Inheritance
-
XmlQualifiedEntity
Constructors
XmlQualifiedEntity(String)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(string localName)
Parameters
localName
StringThe local name of the entity.
XmlQualifiedEntity(String, String)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(string localName, string ns)
Parameters
localName
StringThe local name of the entity.
ns
StringThe namespace URI to associate with the entity.
XmlQualifiedEntity(String, String, String)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(string prefix, string localName, string ns)
Parameters
prefix
StringThe namespace prefix of the entity.
localName
StringThe local name of the entity.
ns
StringThe namespace URI to associate with the entity.
XmlQualifiedEntity(XmlAnyElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlAnyElementAttribute attribute)
Parameters
attribute
XmlAnyElementAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlAttributeAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlAttributeAttribute attribute)
Parameters
attribute
XmlAttributeAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlElementAttribute attribute)
Parameters
attribute
XmlElementAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlRootAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlRootAttribute attribute)
Parameters
attribute
XmlRootAttributeThe XML related attribute to extract qualified name information about.
Properties
HasXmlAnyElementDecoration
Gets a value indicating whether this instance was constructed with an XmlAnyAttributeAttribute decoration.
public bool HasXmlAnyElementDecoration { get; }
Property Value
- Boolean
true
if this instance was constructed with an XmlAnyAttributeAttribute decoration; otherwise,false
.
HasXmlAttributeDecoration
Gets a value indicating whether this instance was constructed with an XmlAttributeAttribute decoration.
public bool HasXmlAttributeDecoration { get; }
Property Value
- Boolean
true
if this instance was constructed with an XmlAttributeAttribute decoration; otherwise,false
.
HasXmlElementDecoration
Gets a value indicating whether this instance was constructed with an XmlElementAttribute decoration.
public bool HasXmlElementDecoration { get; }
Property Value
- Boolean
true
if this instance was constructed with an XmlElementAttribute decoration; otherwise,false
.
HasXmlRootDecoration
Gets a value indicating whether this instance was constructed with an XmlRootAttribute decoration.
public bool HasXmlRootDecoration { get; }
Property Value
- Boolean
true
if this instance was constructed with an XmlRootAttribute decoration; otherwise,false
.
LocalName
Gets the local name of the entity.
public string LocalName { get; }
Property Value
- String
The local name of the entity.
Namespace
Gets the namespace URI to associate with the entity.
public string Namespace { get; }
Property Value
- String
The namespace URI to associate with the entity.
Prefix
Gets the namespace prefix of the entity.
public string Prefix { get; }
Property Value
- String
The namespace prefix of the entity.