initADocumentEntityEvent method
Initializes the value of an ADocumentEntityEvent created through the DocumentEntityEvent interface. You should only call this method before the ADocumentEntityEvent has been dispatched using the dispatchEvent method, though it can be called multiple times during that phase if necessary. If the initADocumentEntityEvent is called multiple times, the final call takes precedence.
initADocumentEntityEvent(typeArg, canBubbleArg, cancelableArg, object, relatedDocument, relatedNode, result)
Parameters
String typeArg
Specifies the event type.
boolean canBubbleArg
Indicates whether or not the event can bubble.
boolean cancelableArg
Indicates whether or not the event's default action can be prevented.
CMSObject object
Identifies the CMSObject in which the declaration was found.
Document relatedDocument
The Document in which the declaration was found.
Node relatedNode
DOM Entity containing information about the entity declaration.
String result
Returns
void. A valid entity name to be used a new entity declaration.
这对您有帮助吗?