Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

DOMLocator Interface Reference

Inherits javax::xml::transform::SourceLocator.

List of all members.


Detailed Description

Indicates the position of a node in a source DOM, intended primarily for error reporting.

To use a DOMLocator, the receiver of an error must downcast the javax.xml.transform.SourceLocator object returned by an exception. A javax.xml.transform.Transformer may use this object for purposes other than error reporting, for instance, to indicate the source node that originated a result node.


Public Member Functions

Node getOriginatingNode ()
 Return the node where the event occurred.

Member Function Documentation

Node getOriginatingNode (  ) 

Return the node where the event occurred.

Returns:
The node that is the location for the event.