Class MarkupEngineOut

  • Direct Known Subclasses:
    MarkupRtfOut, MarkupXHTMLOut

    public class MarkupEngineOut
    extends MarkupOut
    Class MarkupEngineout represents the output markup engine. Referring to it as an engine is perhaps a bit of a misnomer in that it doesn't actualloy drive the generation of output markup; that is instead controlled by a text stream, which makes a series of calls to the output engine.

    One derives a class from this in order to implement a markup engine for a particular language.

    For more information, please see the extenral documentation.

    • Method Detail

      • translation

        public java.lang.String translation()
        Obtain the output markup.
        Returns:
        Result of the markup operation, as a text string.
      • reset

        public void reset()
        Reset the (derived) markup engine to its initial state.
        Overrides:
        reset in class MarkupOut
      • text

        public void text​(java.lang.String sStrText)
        Overridden: Output raw text content.
        Overrides:
        text in class MarkupOut
        Parameters:
        sStrText - - Text content to add to the markup output.
      • attr

        public void attr​(TextAttr oAttr)
        Overridden: Output an attribute change.
        Overrides:
        attr in class MarkupOut
        Parameters:
        oAttr - - Attribute change to add to the markup output.
      • para

        public void para()
        Overridden: Output a paragraph mark.
        Overrides:
        para in class MarkupOut