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. package org.w3c.dom.ls;
  13. import org.w3c.dom.Document;
  14. import org.w3c.dom.events.Event;
  15. /**
  16. * This interface represents a load event object that signals the completion
  17. * of a document load.
  18. * <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
  19. and Save Specification</a>.
  20. */
  21. public interface LSLoadEvent extends Event {
  22. /**
  23. * The document that finished loading.
  24. */
  25. public Document getNewDocument();
  26. /**
  27. * The input source that was parsed.
  28. */
  29. public LSInput getInput();
  30. }