org.apache.xerces.dom.events
public class MutationEventImpl extends EventImpl implements MutationEvent
Version: $Id: MutationEventImpl.java,v 1.9 2004/10/06 15:25:33 mrglavas Exp $
UNKNOWN:
Field Summary | |
---|---|
short | attrChange |
static String | DOM_ATTR_MODIFIED |
static String | DOM_CHARACTER_DATA_MODIFIED |
static String | DOM_NODE_INSERTED |
static String | DOM_NODE_INSERTED_INTO_DOCUMENT |
static String | DOM_NODE_REMOVED |
static String | DOM_NODE_REMOVED_FROM_DOCUMENT |
static String | DOM_SUBTREE_MODIFIED |
Method Summary | |
---|---|
short | getAttrChange()attrChange indicates the type of change which triggered
the DOMAttrModified event. |
String | getAttrName() |
String | getNewValue() |
String | getPrevValue() |
Node | getRelatedNode() |
void | initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg) Initialize a mutation event, or overwrite the event's current
settings with new values of the parameters. |
attrChange
indicates the type of change which triggered
the DOMAttrModified event. The values can be MODIFICATION
, ADDITION
, or REMOVAL
.Returns: the name of the Attr which changed, for DOMAttrModified events. Undefined for others.
Returns: the new string value of the Attr for DOMAttrModified events, or of the CharacterData node for DOMCharDataModifed events. Undefined for others.
Returns: the previous string value of the Attr for DOMAttrModified events, or of the CharacterData node for DOMCharDataModifed events. Undefined for others.
Returns: a Node related to this event, other than the target that the node was dispatched to. For DOMNodeRemoved, it is the node which was removed. No other uses are currently defined.