[#BloombergLP-balxml-ElementAttribute] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::ElementAttribute :relfileprefix: ../../ :mrdocs: Class to represent the properties of an attribute in an XML element tag. == Synopsis Declared in `<balxml_elementattribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ElementAttribute; ---- == Description Note that this class is not value semantic and does not own any of its pointer values. The owner of the arguments used to set the value of a `ElementAttribute` is responsible for ensuring that the values remain valid or else must document the conditions that will make the values invalid. Some facets are computed the first time that they are needed. To avoid extra processing, the caller may supply otherwise‐computed facets at construction or by calling `reset`. Facets provided by the caller are not checked to ensure that they are consistent with one another. == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/ElementAttribute/_04enum.adoc[`Unnamed enum`] | Attribute flag bits for `ElementAttribute`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/ElementAttribute/2constructor-0d.adoc[`ElementAttribute`] [.small]#[constructor]# | Constructors | xref:BloombergLP/balxml/ElementAttribute/flags.adoc[`flags`] | Return the flags for this attribute. | xref:BloombergLP/balxml/ElementAttribute/isNull.adoc[`isNull`] | Return `true` if this object is null. | xref:BloombergLP/balxml/ElementAttribute/localName.adoc[`localName`] | Return the local name for this attribute. | xref:BloombergLP/balxml/ElementAttribute/namespaceId.adoc[`namespaceId`] | Return the namespace ID for this attribute. | xref:BloombergLP/balxml/ElementAttribute/namespaceUri.adoc[`namespaceUri`] | Return the namespace URI for this attribute. | xref:BloombergLP/balxml/ElementAttribute/prefix.adoc[`prefix`] | Return the namespace prefix for this attribute. | xref:BloombergLP/balxml/ElementAttribute/prefixStack.adoc[`prefixStack`] | Return the value of `prefixStack` specified at the last call to `reset` or the constructor or 0 if no prefix stack was specified. | xref:BloombergLP/balxml/ElementAttribute/print.adoc[`print`] | Format this object to the specified output `stream`. | xref:BloombergLP/balxml/ElementAttribute/qualifiedName.adoc[`qualifiedName`] | Return the value of `qualifiedName` specified at the last call to `reset` or the constructor or 0 if no qualified name was specified. | xref:BloombergLP/balxml/ElementAttribute/reset-0b.adoc[`reset`] | `reset` overloads | xref:BloombergLP/balxml/ElementAttribute/value.adoc[`value`] | Return the value of `value` specified at the last call to `reset` or the constructor or 0 if no value was specified. | xref:BloombergLP/balxml/ElementAttribute/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<ElementAttribute, is_trivially_copyable>`] | Declare that this type is trivially copyable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#