Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.lib / org.gvsig.scripting.lib.api / src / main / java / org / gvsig / scripting / ScriptingText.java @ 1267

History | View | Annotate | Download (602 Bytes)

1
package org.gvsig.scripting;
2

    
3
/**
4
 * <p>
5
 * Interface that represents a unit with text.</p>
6
 *
7
 * @see ScriptingUnit
8
 */
9
public interface ScriptingText extends ScriptingUnit {
10

    
11
    /**
12
     * Returns the text associated to this unit.
13
     *
14
     * @return a String of this unit.
15
     */
16
    public String getText();
17

    
18
    /**
19
     * Sets a the text associated to this unit.
20
     *
21
     * @param text String to assign to this unit.
22
     */
23
    public void setText(String text);
24

    
25
    /**
26
     * Persists the current status of this unit.
27
     */
28
    public void save();
29

    
30
    public String getMimeType();
31
}