public class STValidator extends AbstractValidator
| Constructor and Description |
|---|
STValidator(ST st,
Set<String> expectedArguments)
Returns a new ST validator.
|
| Modifier and Type | Method and Description |
|---|---|
ST |
getInfo()
Returns the information object that is validated.
|
Set<String> |
getOriginal()
Returns the original object used to create the validation object.
|
protected void |
validate(ST st,
Set<String> expectedArguments)
Validates the ST object and marks all missing arguments.
|
getValidationErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidprotected void validate(ST st,
Set<String> expectedArguments)
st - ST object for validationexpectedArguments - expected arguments to test forpublic ST getInfo()
InfoValidatorpublic Set<String> getOriginal()
InfoValidatorCopyright © 2010–2017. All rights reserved.