001    /*
002     * Copyright (c) 2000 World Wide Web Consortium,
003     * (Massachusetts Institute of Technology, Institut National de
004     * Recherche en Informatique et en Automatique, Keio University). All
005     * Rights Reserved. This program is distributed under the W3C's Software
006     * Intellectual Property License. This program is distributed in the
007     * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008     * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009     * PURPOSE.
010     * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011     */
012    
013    package org.w3c.dom.views;
014    
015    /**
016     * The <code>DocumentView</code> interface is implemented by
017     * <code>Document</code> objects in DOM implementations supporting DOM
018     * Views. It provides an attribute to retrieve the default view of a
019     * document.
020     * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>Document Object Model (DOM) Level 2 Views Specification</a>.
021     * @since DOM Level 2
022     */
023    public interface DocumentView {
024        /**
025         * The default <code>AbstractView</code> for this <code>Document</code>,
026         * or <code>null</code> if none available.
027         */
028        public AbstractView getDefaultView();
029    
030    }