001/*
002 * Copyright (c) 2004 World Wide Web Consortium,
003 *
004 * (Massachusetts Institute of Technology, European Research Consortium for
005 * Informatics and Mathematics, Keio University). All Rights Reserved. This
006 * work is distributed under the W3C(r) Software License [1] in the hope that
007 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
008 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
009 *
010 * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
011 */
012
013package org.w3c.dom.ls;
014
015import org.w3c.dom.Document;
016import org.w3c.dom.events.Event;
017
018/**
019 *  This interface represents a load event object that signals the completion 
020 * of a document load. 
021 * <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
022and Save Specification</a>.
023 */
024public interface LSLoadEvent extends Event {
025    /**
026     * The document that finished loading.
027     */
028    public Document getNewDocument();
029
030    /**
031     * The input source that was parsed.
032     */
033    public LSInput getInput();
034
035}