001    /*
002     * Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
003     * All rights reserved.
004     *
005     * Redistribution and use in source and binary forms, with or without 
006     * modification, are permitted provided that the following conditions 
007     * are met:
008     *
009     *  * Redistributions of source code must retain the above copyright 
010     *    notice, this list of conditions and the following disclaimer.
011     *  * Redistributions in binary form must reproduce the above 
012     *    copyright notice, this list of conditions and the following 
013     *    disclaimer in the documentation and/or other materials provided 
014     *    with the distribution.
015     *  * Neither the name of the Thai Open Source Software Center Ltd nor 
016     *    the names of its contributors may be used to endorse or promote 
017     *    products derived from this software without specific prior 
018     *    written permission.
019     *
020     * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
021     * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
022     * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
023     * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
024     * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
025     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
026     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
027     * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
028     * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
029     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
030     * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
031     * POSSIBILITY OF SUCH DAMAGE.
032     */
033    
034    package nu.validator.htmlparser.rewindable;
035    
036    public interface Rewindable {
037        void willNotRewind();
038    
039        void rewind();
040    
041        boolean canRewind();
042    }