Class AbstractTextDepictContext

java.lang.Object
com.globalmentor.beans.BoundPropertyObject
io.guise.framework.platform.AbstractDepictContext
io.guise.framework.platform.AbstractTextDepictContext
All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, DepictContext, TextDepictContext
Direct Known Subclasses:
AbstractXMLDepictContext

public abstract class AbstractTextDepictContext extends AbstractDepictContext implements TextDepictContext
Abstract encapsulation of text information related to the current depiction.
Author:
Garret Wilson
  • Field Summary

    Fields inherited from class com.globalmentor.beans.BoundPropertyObject

    NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Guise session constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears all data collected for depiction.
    protected String
    encode(String string)
    Encodes text information for writing.
    The string builder that holds the current content being collected, though not necessarily all the content collected.
     
    int
     
    void
    Increments the indent level.
    void
    indent(int indentDelta)
    Changes the indent level by the given amount.
    boolean
    void
    setIndentLevel(int newIndentLevel)
    Sets the level of text indentation.
    void
    Decrements the indent level.
    void
    write(char character)
    Writes a character, encoding it as necessary.
    void
    write(String text)
    Writes text, encoding it as necessary.
    void
    Writes an indention at the current indention level.
    void
    Writes literal text with no encoding.

    Methods inherited from class io.guise.framework.platform.AbstractDepictContext

    getDepictionURI, getDepictionURI, getDestination, getPlatform, getSession, getStyles

    Methods inherited from class com.globalmentor.beans.BoundPropertyObject

    addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.guise.framework.platform.DepictContext

    getDepictionURI, getDepictionURI, getDepictionURI, getDestination, getPlatform, getSession, getStyles

    Methods inherited from interface com.globalmentor.beans.PropertyBindable

    addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener

    Methods inherited from interface io.guise.framework.platform.TextDepictContext

    getOutputCharset, getOutputContentType, setOutputContentType