LibreOffice Module unoxml (master) 1
|
#include <attr.hxx>
Public Member Functions | |
xmlNsPtr | GetNamespace (xmlNodePtr const pNode) |
return the libxml namespace corresponding to m_pNamespace on pNode More... | |
virtual bool | IsChildTypeAllowed (css::xml::dom::NodeType const nodeType, css::xml::dom::NodeType const *) override |
virtual OUString SAL_CALL | getName () override |
Returns the name of this attribute. More... | |
virtual css::uno::Reference< css::xml::dom::XElement > SAL_CALL | getOwnerElement () override |
The Element node this attribute is attached to or null if this attribute is not in use. More... | |
virtual sal_Bool SAL_CALL | getSpecified () override |
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false. More... | |
virtual OUString SAL_CALL | getValue () override |
On retrieval, the value of the attribute is returned as a string. More... | |
virtual void SAL_CALL | setValue (const OUString &value) override |
Sets the value of the attribute from a string. More... | |
virtual OUString SAL_CALL | getNodeName () override |
virtual OUString SAL_CALL | getNodeValue () override |
virtual OUString SAL_CALL | getLocalName () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | appendChild (const css::uno::Reference< css::xml::dom::XNode > &newChild) override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | cloneNode (sal_Bool deep) override |
virtual css::uno::Reference< css::xml::dom::XNamedNodeMap > SAL_CALL | getAttributes () override |
virtual css::uno::Reference< css::xml::dom::XNodeList > SAL_CALL | getChildNodes () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | getFirstChild () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | getLastChild () override |
virtual OUString SAL_CALL | getNamespaceURI () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | getNextSibling () override |
virtual css::xml::dom::NodeType SAL_CALL | getNodeType () override |
virtual css::uno::Reference< css::xml::dom::XDocument > SAL_CALL | getOwnerDocument () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | getParentNode () override |
virtual OUString SAL_CALL | getPrefix () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | getPreviousSibling () override |
virtual sal_Bool SAL_CALL | hasAttributes () override |
virtual sal_Bool SAL_CALL | hasChildNodes () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | insertBefore (const css::uno::Reference< css::xml::dom::XNode > &newChild, const css::uno::Reference< css::xml::dom::XNode > &refChild) override |
virtual sal_Bool SAL_CALL | isSupported (const OUString &feature, const OUString &ver) override |
virtual void SAL_CALL | normalize () override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | removeChild (const css::uno::Reference< css::xml::dom::XNode > &oldChild) override |
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | replaceChild (const css::uno::Reference< css::xml::dom::XNode > &newChild, const css::uno::Reference< css::xml::dom::XNode > &oldChild) override |
virtual void SAL_CALL | setNodeValue (const OUString &nodeValue) override |
virtual void SAL_CALL | setPrefix (const OUString &prefix) override |
Private Member Functions | |
CAttr (CDocument const &rDocument, ::osl::Mutex const &rMutex, xmlAttrPtr const pAttr) | |
Private Attributes | |
xmlAttrPtr | m_aAttrPtr |
::std::optional< stringpair_t > | m_oNamespace |
Friends | |
class | CDocument |
|
private |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
Returns the name of this attribute.
Definition at line 101 of file attr.cxx.
References aName, m_aAttrPtr, and m_rMutex.
Referenced by getLocalName(), getNodeName(), and setValue().
xmlNsPtr DOM::CAttr::GetNamespace | ( | xmlNodePtr const | pNode | ) |
return the libxml namespace corresponding to m_pNamespace on pNode
Definition at line 47 of file attr.cxx.
References m_oNamespace, and SAL_WARN.
Referenced by DOM::CElement::setAttributeNode_Impl_Lock().
|
overridevirtual |
Definition at line 248 of file attr.cxx.
References m_oNamespace, and m_rMutex.
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Definition at line 88 of file attr.cxx.
References getValue().
|
inlineoverridevirtual |
Definition at line 127 of file attr.hxx.
Referenced by setValue().
|
overridevirtual |
The Element node this attribute is attached to or null if this attribute is not in use.
Definition at line 117 of file attr.cxx.
References m_aAttrPtr, and m_rMutex.
|
inlineoverridevirtual |
|
overridevirtual |
Definition at line 229 of file attr.cxx.
References m_oNamespace, and m_rMutex.
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
On retrieval, the value of the attribute is returned as a string.
Definition at line 148 of file attr.cxx.
References m_aAttrPtr, and m_rMutex.
Referenced by getNodeValue(), and setValue().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Definition at line 170 of file attr.hxx.
References setValue().
|
overridevirtual |
Definition at line 211 of file attr.cxx.
References m_oNamespace, m_rMutex, OUStringToOString(), and prefix.
|
overridevirtual |
Sets the value of the attribute from a string.
Definition at line 165 of file attr.cxx.
References getName(), getOwnerDocument(), getValue(), m_aAttrPtr, m_rMutex, OUStringToOString(), and value.
Referenced by setNodeValue().
|
private |
Definition at line 46 of file attr.hxx.
Referenced by getName(), getOwnerElement(), getValue(), and setValue().
|
private |
Definition at line 47 of file attr.hxx.
Referenced by GetNamespace(), getNamespaceURI(), getPrefix(), and setPrefix().