public class JapaneseStyleValidator extends Validator
KEY_VALUE, RULE, WORD_LIST, WORD_LIST_LOWERCASED
Constructor and Description |
---|
JapaneseStyleValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getSupportedLanguages()
Return an array of languages supported by this validator
Validator provides empty implementation. |
int |
hashCode() |
void |
preValidate(Sentence sentence)
Process input blocks before run validation.
|
String |
toString() |
void |
validate(Sentence sentence)
validate the input document and returns the invalid points.
|
addError, addErrorWithPosition, addLocalizedError, addLocalizedError, addLocalizedErrorFromToken, addLocalizedErrorWithPosition, addLocalizedErrorWithPosition, addValidationError, addValidationError, addValidationErrorFromToken, addValidationErrorWithPosition, addValidationErrorWithPosition, getConfigAttribute, getConfigAttribute, getConfigAttributeAsBoolean, getConfigAttributeAsDouble, getConfigAttributeAsInt, getConfigAttributes, getLocalizedErrorMessage, getSymbolTable, init, preValidate, setErrorList, validate, validate
public void preValidate(Sentence sentence)
Validator
preValidate
in class Validator
sentence
- input sentencepublic void validate(Sentence sentence)
Validator
Validator
provides empty implementation. Validator implementation validates sentences can override this method.public List<String> getSupportedLanguages()
Validator
Validator
provides empty implementation. Validator implementation validates sections can override this method.getSupportedLanguages
in class Validator
Copyright © 2015. All rights reserved.