Class ExtensionValidator
java.lang.Object
com.inductiveautomation.ignition.common.jsonschema.BaseJsonValidator
com.inductiveautomation.ignition.common.jsonschema.ExtensionValidator
- All Implemented Interfaces:
- JsonValidator
This validator doesn't actually do any validation, it is just a way to "extend" the schema system with arbitrary
 information attached to schemas.
- 
Field SummaryFields inherited from interface com.inductiveautomation.ignition.common.jsonschema.JsonValidatorAT_ROOT
- 
Constructor SummaryConstructorsConstructorDescriptionExtensionValidator(String schemaPath, com.inductiveautomation.ignition.common.gson.JsonElement schemaNode, JsonSchema parentSchema) 
- 
Method SummaryModifier and TypeMethodDescriptionOptional<com.inductiveautomation.ignition.common.gson.JsonElement>getExtension(String key) validate(com.inductiveautomation.ignition.common.gson.JsonElement node, com.inductiveautomation.ignition.common.gson.JsonElement rootNode, String at) Validate the given JsonElement, the given node is the child node of the root node at given data path.Methods inherited from class com.inductiveautomation.ignition.common.jsonschema.BaseJsonValidatorasInt, buildValidationMessage, debug, equals, getParentSchema, getSchemaNode, getSchemaPath, getSubSchema, getValidatorType, greaterThan, hasSubSchema, lessThan, obtainSubSchemaNode, parseErrorCode, useRefCache, validateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.jsonschema.JsonValidatorvalidate
- 
Constructor Details- 
ExtensionValidatorpublic ExtensionValidator(String schemaPath, com.inductiveautomation.ignition.common.gson.JsonElement schemaNode, JsonSchema parentSchema) 
 
- 
- 
Method Details- 
validatepublic Set<ValidationMessage> validate(com.inductiveautomation.ignition.common.gson.JsonElement node, com.inductiveautomation.ignition.common.gson.JsonElement rootNode, String at) Description copied from interface:JsonValidatorValidate the given JsonElement, the given node is the child node of the root node at given data path.- Specified by:
- validatein interface- JsonValidator
- Parameters:
- node- JsonElement
- rootNode- JsonElement
- at- String
- Returns:
- A list of ValidationMessage if there is any validation error, or an empty list if there is no error.
 
- 
getExtension
 
-