Source for org.w3c.dom.ls.LSLoadEvent

   1: /*
   2:  * Copyright (c) 2004 World Wide Web Consortium,
   3:  *
   4:  * (Massachusetts Institute of Technology, European Research Consortium for
   5:  * Informatics and Mathematics, Keio University). All Rights Reserved. This
   6:  * work is distributed under the W3C(r) Software License [1] in the hope that
   7:  * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
   8:  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   9:  *
  10:  * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
  11:  */
  12: 
  13: package org.w3c.dom.ls;
  14: 
  15: import org.w3c.dom.Document;
  16: import org.w3c.dom.events.Event;
  17: 
  18: /**
  19:  *  This interface represents a load event object that signals the completion 
  20:  * of a document load. 
  21:  * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>Document Object Model (DOM) Level 3 Load
  22: and Save Specification</a>.
  23:  */
  24: public interface LSLoadEvent extends Event {
  25:     /**
  26:      * The document that finished loading.
  27:      */
  28:     public Document getNewDocument();
  29: 
  30:     /**
  31:      * The input source that was parsed.
  32:      */
  33:     public LSInput getInput();
  34: 
  35: }