| Modifier and Type | Field and Description |
|---|---|
| public static final WhitespaceNormalizer | |
| public static final WhitespaceNormalizer | |
| public static final WhitespaceNormalizer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract JExpression | generate(JCodeModel
The owner code model object under which a new expression
will be created. codeModel, JExpression literal)Generates the expression that normalizes the given expression (which evaluates to java.lang.String). |
| public static WhitespaceNormalizer |
| COLLAPSE | back to summary |
|---|---|
| public static final WhitespaceNormalizer COLLAPSE | |
| PRESERVE | back to summary |
|---|---|
| public static final WhitespaceNormalizer PRESERVE | |
| REPLACE | back to summary |
|---|---|
| public static final WhitespaceNormalizer REPLACE | |
| WhitespaceNormalizer | back to summary |
|---|---|
| public WhitespaceNormalizer() | |
| generate | back to summary |
|---|---|
| public abstract JExpression generate(JCodeModel codeModel, JExpression literal) Generates the expression that normalizes the given expression (which evaluates to java.lang.String).
| |
| parse | back to summary |
|---|---|
| public static WhitespaceNormalizer parse(String method) Parses "preserve","replace" or "collapse" into the corresponding WhitespaceNormalizer object.
| |