◆ MacroProcessors()
org.turro.parser.processor.MacroProcessors.MacroProcessors |
( |
| ) |
|
Definition at line 138 of file MacroProcessors.java.
139 this.allowed =
new HashSet<>();
140 this.forbidden =
new HashSet<>();
◆ allowed()
MacroProcessors org.turro.parser.processor.MacroProcessors.allowed |
( |
Set< String > |
allowed | ) |
|
◆ constructor()
◆ contact()
◆ forbidden()
MacroProcessors org.turro.parser.processor.MacroProcessors.forbidden |
( |
Set< String > |
forbidden | ) |
|
◆ full()
◆ mail()
◆ main()
static void org.turro.parser.processor.MacroProcessors.main |
( |
String[] |
args | ) |
|
|
static |
Definition at line 39 of file MacroProcessors.java.
40 System.out.println(
MacroProcessors.mail().process(
"Provem... @{user-name(void=@{user-mail(void=@{user-lang(void=\"Anonymous\")})})}"));
◆ process() [1/2]
String org.turro.parser.processor.MacroProcessors.process |
( |
String |
text | ) |
|
Definition at line 65 of file MacroProcessors.java.
66 if(text.contains(MACRO_START)) {
67 StringWriter writer =
new StringWriter();
69 return writer.toString();
String process(String text)
◆ process() [2/2]
void org.turro.parser.processor.MacroProcessors.process |
( |
Writer |
writer, |
|
|
String |
text |
|
) |
| |
Definition at line 74 of file MacroProcessors.java.
75 if(text.contains(MACRO_START)) {
76 MacroParser.of(MACRO_START, MACRO_END).process(writer, text, content -> {
77 processContent(content, writer);
The documentation for this class was generated from the following file: