// TextViewHTMLElement.java
// By Ned Etcode
// Copyright 1996 Netscape Communications Corp.  All rights reserved.

package netscape.application;
import netscape.util.*;

/** This interface describes what an object that stores some html
  * should implement to be parsed by the textview.
  * @private
  */
interface TextViewHTMLElement {
    /** Append the string for the component */
    public void appendString(Hashtable context,FastStringBuffer fb);

    /** Set the attributes for the string starting at index index */
    public void setAttributesStartingAt(int index, Hashtable initialAttributes,TextView target,
                                        Hashtable context);

    /** Return the length in number of character of the component */
    public int length();
}




