org.inria.ns.reflex.xml.sax
Interface NamedEvent

All Superinterfaces:
NamedNode, NamedType, SAXEvent

public interface NamedEvent
extends SAXEvent, NamedNode

An event that can supply its name in the DOM style and the XPath style.

Author:
Philippe Poulard

Method Summary
 Node asDOMNode(Document owner)
          Return a DOM node twin of this SAXEvent.
 
Methods inherited from interface org.inria.ns.reflex.xml.sax.SAXEvent
doEvent, toString
 
Methods inherited from interface org.inria.ns.reflex.xml.NamedNode
getDOMName, getXPathName
 
Methods inherited from interface org.inria.ns.reflex.processor.asl.types.NamedType
getTypeName
 

Method Detail

asDOMNode

Node asDOMNode(Document owner)
Return a DOM node twin of this SAXEvent.

The node won't have content, but may have attributes.

Parameters:
owner - The document that own this node.
Returns:
A new DOM node, that has the same owner as those supplied, except if the underlying event is related to a document.