protected void fireDOMCharacterDataModifiedEvent(String oldv,
String newv) {
AbstractDocument doc = getCurrentDocument();
if (doc.getEventsEnabled()) {
DocumentEvent de = (DocumentEvent)doc;
DOMMutationEvent ev
= (DOMMutationEvent) de.createEvent("MutationEvents");
ev.initMutationEventNS(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMCharacterDataModified",
true, // canBubbleArg
false, // cancelableArg
null, // relatedNodeArg
oldv, // prevValueArg