Class ParseCapability
java.lang.Object
net.sf.jsqlparser.util.validation.ParseCapability
- All Implemented Interfaces:
ValidationCapability
package - private class for
Validation
to parse the statements within it's own
ValidationCapability
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
validate
(ValidationContext context, Consumer<ValidationException> errorConsumer) Validate and addValidationException
's to given consumer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.jsqlparser.util.validation.ValidationCapability
toError, toError
-
Field Details
-
NAME
- See Also:
-
statements
-
parsedStatement
-
-
Constructor Details
-
ParseCapability
-
-
Method Details
-
getStatements
-
getParsedStatements
- Returns:
null
on parse error, otherwise theStatements
parsed.
-
validate
Description copied from interface:ValidationCapability
Validate and addValidationException
's to given consumer.- Specified by:
validate
in interfaceValidationCapability
- Parameters:
context
-errorConsumer
-
-
getName
- Specified by:
getName
in interfaceValidationCapability
- Returns:
- a name of this
ValidationCapability
-