public class ValidationFactory
extends java.lang.Object
Title: Service Event Fabric Runtime
Description: Validation factory for validators.
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
Constructor and Description |
---|
ValidationFactory() |
ValidationFactory(java.lang.ClassLoader loader,
SemanticTypeCache cache) |
ValidationFactory(SemanticTypeResolver semanticTypeResolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
existsValidatorForClass(java.lang.Class clazz)
Checks if exists
Validator for class clazz . |
boolean |
existsValidatorForClass(java.lang.String className)
Checks if exists
Validator for class with name className . |
boolean |
existsValidatorForType(SemanticType semanticType)
Checks if exists
Validator for semantic type semanticType . |
boolean |
existsValidatorForType(java.lang.String semanticType)
Checks if exists
Validator for semantic type with name semanticType . |
Validator |
lookupValidatorForClass(java.lang.Class clazz)
Lookups
Validator for class clazz . |
Validator |
lookupValidatorForClass(java.lang.String className)
Lookups
Validator for class with name className . |
Validator |
lookupValidatorForType(SemanticType semanticType)
Lookups
Validator for semantic semanticType . |
Validator |
lookupValidatorForType(java.lang.String semanticType)
Lookups
Validator for semantic type with name semanticType . |
public ValidationFactory()
public ValidationFactory(java.lang.ClassLoader loader, SemanticTypeCache cache)
public ValidationFactory(SemanticTypeResolver semanticTypeResolver)
public boolean existsValidatorForType(java.lang.String semanticType)
Validator
for semantic type with name semanticType
.semanticType
- semantic type namepublic boolean existsValidatorForType(SemanticType semanticType)
Validator
for semantic type semanticType
.semanticType
- semantic typepublic boolean existsValidatorForClass(java.lang.String className)
Validator
for class with name className
.className
- class full namepublic boolean existsValidatorForClass(java.lang.Class clazz)
Validator
for class clazz
.clazz
- public Validator lookupValidatorForType(java.lang.String semanticType)
Validator
for semantic type with name semanticType
.semanticType
- semantic type namepublic Validator lookupValidatorForType(SemanticType semanticType)
Validator
for semantic semanticType
.semanticType
- semantic typepublic Validator lookupValidatorForClass(java.lang.String className)
Validator
for class with name className
.className
- class full namepublic Validator lookupValidatorForClass(java.lang.Class clazz)
Validator
for class clazz
.clazz
- Copyright © 2015-2024 StreamScape Technologies. All rights reserved.