org.inria.ns.reflex.xml
Interface NamedNode

All Superinterfaces:
NamedType
All Known Subinterfaces:
NamedEvent
All Known Implementing Classes:
NamedItem, SAXNode

public interface NamedNode
extends NamedType

A node that can supply its name in the DOM style and the XPath style.

TypeDOM nameXPath name
document#document/
elementtag nametag name
comment#commentcomment()
PItargetprocessing-instruction('target')
text#texttext()

Author:
Philippe Poulard

Method Summary
 QName getDOMName()
          Return the DOM name of this node.
 QName getXPathName()
          Return the XPath name of this node.
 
Methods inherited from interface org.inria.ns.reflex.processor.asl.types.NamedType
getTypeName
 

Method Detail

getDOMName

QName getDOMName()
Return the DOM name of this node.

Returns:
Return the non-null name of this node à la DOM.
See Also:
XMLNames.DOCUMENT_DOM_NAME, XMLNames.TEXT_DOM_NAME, XMLNames.COMMENT_DOM_NAME

getXPathName

QName getXPathName()
Return the XPath name of this node.

Returns:
Return the non-null name of this node à la XPath.
See Also:
XMLNames.DOCUMENT_XPATH_NAME, XMLNames.TEXT_XPATH_NAME, XMLNames.COMMENT_XPATH_NAME