Interface IDocumentFormatter

All Known Implementing Classes:
AbstractDocumentFormatter

public interface IDocumentFormatter
  • Method Details

    • getStartDocumentDirective

      String getStartDocumentDirective()
    • getEndDocumentDirective

      String getEndDocumentDirective()
    • formatAsFieldItemList

      String formatAsFieldItemList(String content, String fieldName, boolean forceAsField)
    • extractItemNameList

      String extractItemNameList(String content, String fieldName, boolean forceAsField)
    • getStartLoopDirective

      String getStartLoopDirective(String itemNameList)
    • getStartLoopDirective

      String getStartLoopDirective(String itemNameList, String listName)
    • getEndLoopDirective

      String getEndLoopDirective(String itemNameList)
    • getLoopCountDirective

      String getLoopCountDirective(String fieldName)
    • getStartIfDirective

      String getStartIfDirective(String fieldName)
    • getStartIfDirectiveIfExists

      String getStartIfDirectiveIfExists(String fieldName)
    • getStartIfDirective

      String getStartIfDirective(String fieldName, boolean exists)
    • getEndIfDirective

      String getEndIfDirective(String fieldName)
    • formatAsSimpleField

      String formatAsSimpleField(boolean noescape, boolean encloseInDirective, String... fields)
    • formatAsSimpleField

      String formatAsSimpleField(boolean encloseInDirective, String... fields)
    • containsInterpolation

      boolean containsInterpolation(String content)
    • extractListDirectiveInfo

      int extractListDirectiveInfo(String content, DirectivesStack directives)
    • extractListDirectiveInfo

      int extractListDirectiveInfo(String content, DirectivesStack directives, boolean dontRemoveListDirectiveInfo)
    • extractModelTokenPrefix

      String extractModelTokenPrefix(String newContent)
    • getIndexOfScript

      int getIndexOfScript(String fieldName)
    • getFunctionDirective

      String getFunctionDirective(boolean noescape, boolean encloseInDirective, String key, String methodName, String... parameters)
    • getFunctionDirective

      String getFunctionDirective(boolean encloseInDirective, String key, String methodName, String... parameters)
    • getFunctionDirective

      String getFunctionDirective(String key, String methodName, String... parameters)
    • hasDirective

      boolean hasDirective(String characters)
    • formatAsCallTextStyling

      String formatAsCallTextStyling(long variableIndex, String fieldName, String documentKind, String syntaxKind, boolean syntaxWithDirective, String elementId, String entryName)
    • formatAsTextStylingField

      String formatAsTextStylingField(long variableIndex, String textBeforeProperty)
    • getElseDirective

      String getElseDirective()
    • getSetDirective

      String getSetDirective(String name, String value, boolean valueIsField)
    • getSetDirective

      String getSetDirective(String name, String value)
    • getStartNoParse

      String getStartNoParse()
    • getEndNoParse

      String getEndNoParse()
    • getDefineDirective

      String getDefineDirective(String name, String value)
    • isInstruction

      boolean isInstruction(String tagContent)
      Returns true if an instruction tag is included and false otherwise.
      Parameters:
      tagContent -
      Returns: