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
localNamestringThe local name of the entity.
XmlQualifiedEntity(string, string)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(string localName, string ns)
Parameters
localNamestringThe local name of the entity.
nsstringThe 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
prefixstringThe namespace prefix of the entity.
localNamestringThe local name of the entity.
nsstringThe namespace URI to associate with the entity.
XmlQualifiedEntity(XmlAnyElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlAnyElementAttribute attribute)
Parameters
attributeXmlAnyElementAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlAttributeAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlAttributeAttribute attribute)
Parameters
attributeXmlAttributeAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlElementAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlElementAttribute attribute)
Parameters
attributeXmlElementAttributeThe XML related attribute to extract qualified name information about.
XmlQualifiedEntity(XmlRootAttribute)
Initializes a new instance of the XmlQualifiedEntity class.
public XmlQualifiedEntity(XmlRootAttribute attribute)
Parameters
attributeXmlRootAttributeThe 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
- bool
trueif 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
- bool
trueif 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
- bool
trueif 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
- bool
trueif 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.