Class MarkupEngineIn

  • Direct Known Subclasses:
    MarkupRtfIn, MarkupXHTMLIn

    public abstract class MarkupEngineIn
    extends MarkupIn
    Class MarkupEngineIn defines a general-purpose markup engine for handling RTF-like markup languages. Most of the actual parsing of the markup language and the sequencing of rich text generation calls to the base class (MarkupIn) occurs in this class. The derived class primarily supplies tables to drive the process.

    Unfortunately this model doesn't work well for XHTML markup. Even though the XHTML input markup engine extends this class, it does most of the processing itself.

    For more information, please see the extenral documentation.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setSourceText​(java.lang.String sStrSource)
      Set the source markup string to parse.
      void translate()
      Pure virtual: Perform the markup translation.
      • Methods inherited from class com.adobe.xfa.text.markup.MarkupIn

        setup
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • translate

        public void translate()
        Description copied from class: MarkupIn
        Pure virtual: Perform the markup translation.

        The derived class implements this to perform the actual translation from markup to rich text. Note that the derived class must be prepopulated with any translation parameters.

        Specified by:
        translate in class MarkupIn
      • setSourceText

        public void setSourceText​(java.lang.String sStrSource)
        Set the source markup string to parse.
        Parameters:
        sStrSource - - String containing the markup to process.