public abstract class MacroProcessor<T extends ContentNode> extends BaseProcessor
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
Constructor and Description |
---|
MacroProcessor(java.lang.String name) |
MacroProcessor(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.util.Map<java.lang.Object,java.lang.Object> |
options() |
abstract java.lang.Object |
process(T parent,
java.lang.String target,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name) |
createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createDocument, createListItem, createListItem, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createSection, createSection, createSection, createSection, createSection, createTable, createTable, createTableCell, createTableCell, createTableCell, createTableCell, createTableColumn, createTableColumn, createTableRow, getConfig, parseContent, setConfig, setConfigFinalized, updateConfig
public MacroProcessor(java.lang.String name)
public MacroProcessor(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> config)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Map<java.lang.Object,java.lang.Object> options()
public abstract java.lang.Object process(T parent, java.lang.String target, java.util.Map<java.lang.String,java.lang.Object> attributes)