Interface IDocumentFormatter
- All Known Implementing Classes:
AbstractDocumentFormatter
public interface IDocumentFormatter
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsInterpolation(String content) extractItemNameList(String content, String fieldName, boolean forceAsField) intextractListDirectiveInfo(String content, DirectivesStack directives) intextractListDirectiveInfo(String content, DirectivesStack directives, boolean dontRemoveListDirectiveInfo) extractModelTokenPrefix(String newContent) formatAsCallTextStyling(long variableIndex, String fieldName, String documentKind, String syntaxKind, boolean syntaxWithDirective, String elementId, String entryName) formatAsFieldItemList(String content, String fieldName, boolean forceAsField) formatAsSimpleField(boolean noescape, boolean encloseInDirective, String... fields) formatAsSimpleField(boolean encloseInDirective, String... fields) formatAsTextStylingField(long variableIndex, String textBeforeProperty) getDefineDirective(String name, String value) getEndIfDirective(String fieldName) getEndLoopDirective(String itemNameList) getFunctionDirective(boolean noescape, boolean encloseInDirective, String key, String methodName, String... parameters) getFunctionDirective(boolean encloseInDirective, String key, String methodName, String... parameters) getFunctionDirective(String key, String methodName, String... parameters) intgetIndexOfScript(String fieldName) getLoopCountDirective(String fieldName) getSetDirective(String name, String value) getSetDirective(String name, String value, boolean valueIsField) getStartIfDirective(String fieldName) getStartIfDirective(String fieldName, boolean exists) getStartIfDirectiveIfExists(String fieldName) getStartLoopDirective(String itemNameList) getStartLoopDirective(String itemNameList, String listName) booleanhasDirective(String characters) booleanisInstruction(String tagContent) Returns true if an instruction tag is included and false otherwise.
-
Method Details
-
getStartDocumentDirective
String getStartDocumentDirective() -
getEndDocumentDirective
String getEndDocumentDirective() -
formatAsFieldItemList
-
extractItemNameList
-
getStartLoopDirective
-
getStartLoopDirective
-
getEndLoopDirective
-
getLoopCountDirective
-
getStartIfDirective
-
getStartIfDirectiveIfExists
-
getStartIfDirective
-
getEndIfDirective
-
formatAsSimpleField
-
formatAsSimpleField
-
containsInterpolation
-
extractListDirectiveInfo
-
extractListDirectiveInfo
int extractListDirectiveInfo(String content, DirectivesStack directives, boolean dontRemoveListDirectiveInfo) -
extractModelTokenPrefix
-
getIndexOfScript
-
getFunctionDirective
-
getFunctionDirective
-
getFunctionDirective
-
hasDirective
-
formatAsCallTextStyling
-
formatAsTextStylingField
-
getElseDirective
String getElseDirective() -
getSetDirective
-
getSetDirective
-
getStartNoParse
String getStartNoParse() -
getEndNoParse
String getEndNoParse() -
getDefineDirective
-
isInstruction
Returns true if an instruction tag is included and false otherwise.- Parameters:
tagContent-- Returns:
-