public class ErrorDirectiveHandler extends AbstractDirectiveHandler
DIRECTIVE_PREFIX, DIRECTIVES, GLOBAL_DIRECTIVES, ONE_LINE_COMMENT, PREFIX_FOR_KEEPING_LINES, PREFIX_FOR_KEEPING_LINES_PROCESSED_DIRECTIVES| Constructor and Description |
|---|
ErrorDirectiveHandler() |
| Modifier and Type | Method and Description |
|---|---|
AfterDirectiveProcessingBehaviour |
execute(java.lang.String trimmedString,
PreprocessorContext context)
Execute directive
|
DirectiveArgumentType |
getArgumentType()
Get the argument type needed by the directive
|
java.lang.String |
getName()
Get the name of the directive without prefix
|
java.lang.String |
getReference()
Get the directive reference, it will be printed for a help request
|
protected void |
process(PreprocessorContext context,
java.lang.String message) |
executeOnlyWhenExecutionAllowed, getFullName, isDeprecated, isGlobalPhaseAllowed, isPreprocessingPhaseAllowedpublic java.lang.String getName()
AbstractDirectiveHandlergetName in class AbstractDirectiveHandlerpublic DirectiveArgumentType getArgumentType()
AbstractDirectiveHandlergetArgumentType in class AbstractDirectiveHandlerpublic java.lang.String getReference()
AbstractDirectiveHandlergetReference in class AbstractDirectiveHandlerprotected void process(PreprocessorContext context, java.lang.String message)
public AfterDirectiveProcessingBehaviour execute(java.lang.String trimmedString, PreprocessorContext context)
AbstractDirectiveHandlerexecute in class AbstractDirectiveHandlertrimmedString - the tail of the string where the directive has been met, must not be null but can be emptycontext - the preprocessor context, it can be null