fi.hut.tml.xsmiles.mlfc.events
Class EventAttrNSImpl

java.lang.Object
  extended byorg.apache.xerces.dom.NodeImpl
      extended byorg.apache.xerces.dom.AttrImpl
          extended byorg.apache.xerces.dom.AttrNSImpl
              extended byfi.hut.tml.xsmiles.dom.XSmilesAttrNSImpl
                  extended byfi.hut.tml.xsmiles.mlfc.events.EventAttrNSImpl
All Implemented Interfaces:
org.w3c.dom.Attr, java.lang.Cloneable, org.w3c.dom.events.EventListener, org.w3c.dom.events.EventTarget, InitializableElement, org.w3c.dom.Node, org.w3c.dom.NodeList, java.io.Serializable, org.w3c.dom.TypeInfo

public class EventAttrNSImpl
extends XSmilesAttrNSImpl
implements org.w3c.dom.events.EventListener

With this attribute ev:event, it is possible to define event handlers without the listener element.

Author:
Mikko Honkala
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesAttrNSImpl
inited
 
Fields inherited from class org.apache.xerces.dom.AttrNSImpl
localName, namespaceURI
 
Fields inherited from class org.apache.xerces.dom.AttrImpl
name, textNode, value
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
protected EventAttrNSImpl(org.apache.xerces.dom.DocumentImpl ownerDocument, java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 
Method Summary
 java.lang.Object clone()
           
 void handleEvent(org.w3c.dom.events.Event evt)
          This method handles the event, when it is received
 void init()
          Initialize this element.
 
Methods inherited from class org.apache.xerces.dom.AttrNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setValues
 
Methods inherited from class org.apache.xerces.dom.AttrImpl
cloneNode, getChildNodes, getElement, getFirstChild, getLastChild, getLength, getName, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, hasChildNodes, insertBefore, isEqualNode, isId, item, makeChildNode, normalize, removeChild, replaceChild, setIdAttribute, setNodeValue, setReadOnly, setSpecified, setType, setValue, synchronizeChildren, toString
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getContainer, getFeature, getNextSibling, getNodeNumber, getOwnerDocument, getParentNode, getPreviousSibling, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setTextContent, setUserData, setUserData, synchronizeData
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getAttributes, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, hasAttributes, isSupported
 

Constructor Detail

EventAttrNSImpl

protected EventAttrNSImpl(org.apache.xerces.dom.DocumentImpl ownerDocument,
                          java.lang.String namespaceURI,
                          java.lang.String qualifiedName)
Method Detail

init

public void init()
Description copied from interface: InitializableElement
Initialize this element.

Specified by:
init in interface InitializableElement
Overrides:
init in class XSmilesAttrNSImpl

handleEvent

public void handleEvent(org.w3c.dom.events.Event evt)
This method handles the event, when it is received

Specified by:
handleEvent in interface org.w3c.dom.events.EventListener

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException


X-Smiles 1.2