public enum TemplateBlockType extends java.lang.Enum<TemplateBlockType>
| Enum Constant and Description |
|---|
BINDER |
DYNAMIC_TEXT |
FOR |
IF |
PLAIN_TEXT |
STATIC |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
controlBlockEmbeddedInStaticBlock(java.lang.String templateString,
int startIndex) |
java.util.regex.Pattern |
getEndControlBlockPattern()
Returns the detection Pattern for a end control block tag.
|
static NextDetectedBlockResult |
getNextBlock(java.lang.String templateString) |
java.util.regex.Pattern |
getStartControlBlockPattern()
Returns the detection Pattern for a start control block tag.
|
boolean |
isControlBlock() |
static TemplateBlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateBlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateBlockType BINDER
public static final TemplateBlockType PLAIN_TEXT
public static final TemplateBlockType DYNAMIC_TEXT
public static final TemplateBlockType STATIC
public static final TemplateBlockType FOR
public static final TemplateBlockType IF
public static TemplateBlockType[] values()
for (TemplateBlockType c : TemplateBlockType.values()) System.out.println(c);
public static TemplateBlockType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static NextDetectedBlockResult getNextBlock(java.lang.String templateString)
protected static boolean controlBlockEmbeddedInStaticBlock(java.lang.String templateString,
int startIndex)
public java.util.regex.Pattern getStartControlBlockPattern()
public java.util.regex.Pattern getEndControlBlockPattern()
public boolean isControlBlock()
Copyright © 2017-2018 Holisticon AG. All Rights Reserved.