mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
Default setNodeValue is to do nothing.
This commit is contained in:
parent
9643b42edd
commit
dcbb59b2e8
2 changed files with 1 additions and 6 deletions
|
@ -37,11 +37,6 @@ class EntityReferenceImpl : public DOM::EntityReference_impl<stringT, string_ada
|
|||
return name_;
|
||||
} // getNodeName
|
||||
|
||||
virtual void setNodeValue(const stringT& /*x*/)
|
||||
{
|
||||
throw DOM::DOMException(DOM::DOMException::NO_MODIFICATION_ALLOWED_ERR);
|
||||
} // setNodeValue
|
||||
|
||||
virtual DOMNode_implT* cloneNode(bool /*deep*/) const
|
||||
{
|
||||
return NodeT::ownerDoc_->createEntityReference(name_);
|
||||
|
|
|
@ -67,7 +67,7 @@ class NodeImpl : virtual public DOM::Node_impl<stringT, string_adaptorT>
|
|||
virtual const stringT& getNodeName() const = 0;
|
||||
|
||||
virtual const stringT& getNodeValue() const { return ownerDoc_->empty_string(); }
|
||||
virtual void setNodeValue(const stringT& /*nodeValue*/) { throwIfReadOnly(); }
|
||||
virtual void setNodeValue(const stringT& /*nodeValue*/) { }
|
||||
|
||||
virtual DOM::Node_base::Type getNodeType() const = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue