org.apache.xerces.dom3.ls
Interface LSProgressEvent

All Superinterfaces:
org.w3c.dom.events.Event

public interface LSProgressEvent
extends org.w3c.dom.events.Event

This interface represents a progress event object that notifies the application about progress as a document is parsed. This event is optional and the rate at which this event is fired is implementation dependent.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.


Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
 
Method Summary
 DOMInputSource getInputSource()
          The input source that is being parsed.
 int getPosition()
          The current position in the input source, including all external entities and other resources that have been read.
 int getTotalSize()
          The total size of the document including all external resources, this number might change as a document is being parsed if references to more external resources are seen.
 
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
 

Method Detail

getInputSource

public DOMInputSource getInputSource()
The input source that is being parsed.

getPosition

public int getPosition()
The current position in the input source, including all external entities and other resources that have been read.

getTotalSize

public int getTotalSize()
The total size of the document including all external resources, this number might change as a document is being parsed if references to more external resources are seen.


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.