Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
I
L
M
O
P
R
S
T
V
A
AbstractValidator
- class org.sovt.impl.
AbstractValidator
.
This validator provides storage for single message.
AbstractValidator()
- Constructor for class org.sovt.impl.
AbstractValidator
addInspector(String, Inspector)
- Method in class org.sovt.
SovtLibrary
Adds named inspector.
addInspector(Inspector)
- Method in class org.sovt.impl.
GroupInspector
Adds inspector to the group.
addInspector(Inspector)
- Method in class org.sovt.impl.
PropertySelector
Adds inspector to the group.
addMessage(String)
- Method in class org.sovt.
PrefixedValidationResult
addMessage(String, String)
- Method in class org.sovt.
PrefixedValidationResult
addMessage(String)
- Method in class org.sovt.
SimpleValidationResult
Adds message to the validation result.
addMessage(String, String)
- Method in class org.sovt.
SimpleValidationResult
addMessage(String)
- Method in interface org.sovt.
ValidationResult
addMessage(String, String)
- Method in interface org.sovt.
ValidationResult
Add message for a key.
addTransformer(String, Transformer)
- Method in class org.sovt.
SovtLibrary
Adds named transformer.
addTransformer(Transformer)
- Method in class org.sovt.impl.
GroupInspector
Adds transformer to the group.
addTransformer(Transformer)
- Method in class org.sovt.impl.
GroupTransformer
Adds transformer to the group.
addTransformer(Transformer)
- Method in class org.sovt.impl.
PropertySelector
Adds transformer to the group.
addValidator(String, Validator)
- Method in class org.sovt.
SovtLibrary
Adds named validator.
addValidator(Validator)
- Method in class org.sovt.impl.
GroupInspector
Adds validator to the group.
addValidator(Validator)
- Method in class org.sovt.impl.
GroupValidator
Adds validator to the group.
addValidator(Validator)
- Method in class org.sovt.impl.
PropertySelector
Adds validator to the group.
C
clone()
- Method in interface org.sovt.
Inspector
Clone of itself.
clone()
- Method in interface org.sovt.
Transformer
Clone of itself.
clone()
- Method in interface org.sovt.
Validator
Clone of itself.
clone()
- Method in class org.sovt.impl.
AbstractValidator
Just returns super.clone().
clone()
- Method in class org.sovt.impl.
GroupInspector
Performs a partly deep-cloning.
clone()
- Method in class org.sovt.impl.
GroupTransformer
Performs a partly deep-cloning.
clone()
- Method in class org.sovt.impl.
GroupValidator
Performs a partly deep-cloning.
clone()
- Method in class org.sovt.impl.
LengthValidator
Just returns super.clone().
clone()
- Method in class org.sovt.impl.
ParserInspector
Plain super.clone().
clone()
- Method in class org.sovt.impl.
PropertySelector
Performs a partly deep-cloning.
clone()
- Method in class org.sovt.impl.
RequiredValidator
Just returns super.clone().
clone()
- Method in class org.sovt.impl.
TrimTransformer
Returns itself.
createObject(Attributes)
- Method in class org.sovt.xml.
InspectorFactory
Creates Inspector for given attributes.
createObject(Attributes)
- Method in class org.sovt.xml.
TransformerFactory
Creates Transformer for given attributes.
createObject(Attributes)
- Method in class org.sovt.xml.
ValidatorFactory
Creates Validator for given attributes.
D
DEFAULT_LIB
- Static variable in class org.sovt.
SovtLibrary
Name of the default Sovt xml library.
F
fail(String)
- Method in class org.sovt.
PrefixedValidationResult
fail(String, String)
- Method in class org.sovt.
PrefixedValidationResult
fail(String)
- Method in class org.sovt.
SimpleValidationResult
Sets status of validation to false.
fail(String, String)
- Method in class org.sovt.
SimpleValidationResult
fail(String)
- Method in interface org.sovt.
ValidationResult
fail(String, String)
- Method in interface org.sovt.
ValidationResult
Add failure for a key.
G
GroupInspector
- class org.sovt.impl.
GroupInspector
.
This Inspector is used to collect other validators, transformers or inspectors into a group.
GroupInspector()
- Constructor for class org.sovt.impl.
GroupInspector
Creates instance of GroupValidator.
GroupTransformer
- class org.sovt.impl.
GroupTransformer
.
This Transformer is used to collect other transformers into group.
GroupTransformer()
- Constructor for class org.sovt.impl.
GroupTransformer
Creates instance of GroupTransformer.
GroupValidator
- class org.sovt.impl.
GroupValidator
.
This Validator is used to collect other validators into group.
GroupValidator()
- Constructor for class org.sovt.impl.
GroupValidator
Creates instance of GroupValidator.
getDestinationClass()
- Method in class org.sovt.impl.
ParserInspector
getInspector(String)
- Method in class org.sovt.
SovtLibrary
Returns named inspector.
getInstance()
- Static method in class org.sovt.
SovtLibrary
Returns instance of library.
getMax()
- Method in class org.sovt.impl.
LengthValidator
Returns maximum length of value.
getMessage()
- Method in class org.sovt.impl.
AbstractValidator
Returns stored message.
getMin()
- Method in class org.sovt.impl.
LengthValidator
Returns minimum length of value.
getTransformer(String)
- Method in class org.sovt.
SovtLibrary
Returns named transformer.
getValidator(String)
- Method in class org.sovt.
SovtLibrary
Returns named validator.
I
Inspector
- interface org.sovt.
Inspector
.
This is interface for object inspection.
InspectorFactory
- class org.sovt.xml.
InspectorFactory
.
Factory of Inspector objects for digister.
InspectorFactory()
- Constructor for class org.sovt.xml.
InspectorFactory
Creates instence of InspectorFactory.
inspect(Object, ValidationResult)
- Method in interface org.sovt.
Inspector
Performs transformation and validation of given object.
inspect(Object, ValidationResult)
- Method in class org.sovt.impl.
GroupInspector
Performs transformation and validation of given object.
inspect(Object, ValidationResult)
- Method in class org.sovt.impl.
ParserInspector
inspect(Object, ValidationResult)
- Method in class org.sovt.impl.
PropertySelector
Performs transformation and validation of given object.
isValid()
- Method in class org.sovt.
PrefixedValidationResult
isValid(String)
- Method in class org.sovt.
PrefixedValidationResult
isValid()
- Method in class org.sovt.
SimpleValidationResult
Returns true if validation has not yet failed.
isValid(String)
- Method in class org.sovt.
SimpleValidationResult
Returns true if there is no error for a given key.
isValid()
- Method in interface org.sovt.
ValidationResult
isValid(String)
- Method in interface org.sovt.
ValidationResult
Returns true if there is NO error for a key.
L
LengthValidator
- class org.sovt.impl.
LengthValidator
.
This validator checks length of the string value.
LengthValidator()
- Constructor for class org.sovt.impl.
LengthValidator
Creates instance of LengthValidator.
Loader
- class org.sovt.xml.
Loader
.
This is class for loading SOVT XML libraries.
loadLibrary(URL)
- Static method in class org.sovt.xml.
Loader
Loads SOVT library from given URL.
loadLibrary(String)
- Static method in class org.sovt.xml.
Loader
Loads SOVT library from given file.
M
MESSAGE_DELIMETER
- Static variable in class org.sovt.
SimpleValidationResult
Delimeter used to concatenate messages in
SimpleValidationResult.toString()
method.
O
org.sovt
- package org.sovt
Provides core interfaces and user-entry-point class.
org.sovt.impl
- package org.sovt.impl
Different inspectors.
org.sovt.xml
- package org.sovt.xml
Internal classes.
P
ParserInspector
- class org.sovt.impl.
ParserInspector
.
This inspector may be used to parse objects from one class to different class.
ParserInspector()
- Constructor for class org.sovt.impl.
ParserInspector
Creates instance of ParserInspector.
PrefixedValidationResult
- class org.sovt.
PrefixedValidationResult
.
This validation result may be used to add all messages with a prefix (key) to an existing ValidationResult.
PrefixedValidationResult(ValidationResult, String)
- Constructor for class org.sovt.
PrefixedValidationResult
PropertySelector
- class org.sovt.impl.
PropertySelector
.
This class is used to validate properties of JavaBean objects.
PropertySelector()
- Constructor for class org.sovt.impl.
PropertySelector
Creates instance of PropertySelector.
R
RequiredValidator
- class org.sovt.impl.
RequiredValidator
.
RequiredValidator()
- Constructor for class org.sovt.impl.
RequiredValidator
S
SimpleValidationResult
- class org.sovt.
SimpleValidationResult
.
This is container for validation results.
SimpleValidationResult()
- Constructor for class org.sovt.
SimpleValidationResult
Creates instance of ValidationResult.
Sovt
- class org.sovt.
Sovt
.
This class provides some convenience methods to perform validation, transformation and inspection.
SovtLibrary
- class org.sovt.
SovtLibrary
.
This class holds all transformers, validators and inspectors.
setDestinationClass(String)
- Method in class org.sovt.impl.
ParserInspector
Set desired class of parse outcome.
setMax(int)
- Method in class org.sovt.impl.
LengthValidator
Sets maximum length of value.
setMessage(String)
- Method in class org.sovt.impl.
AbstractValidator
Set message in case of failure.
setMin(int)
- Method in class org.sovt.impl.
LengthValidator
Sets minimumlength of value.
setMsg(String)
- Method in class org.sovt.impl.
AbstractValidator
Set message in case of failure.
setName(String)
- Method in class org.sovt.impl.
PropertySelector
Set the name of the property to work on.
T
Transformer
- interface org.sovt.
Transformer
.
This is interface for object transformation.
TransformerFactory
- class org.sovt.xml.
TransformerFactory
.
Factory of Transformer objects for digister.
TransformerFactory()
- Constructor for class org.sovt.xml.
TransformerFactory
Creates instence of TransformerFactory.
TrimTransformer
- class org.sovt.impl.
TrimTransformer
.
This transformer is for trimming string objects.
TrimTransformer()
- Constructor for class org.sovt.impl.
TrimTransformer
Creates instance of TrimTransformer.
toString()
- Method in class org.sovt.
SimpleValidationResult
Returns set of messages concatenaited with
SimpleValidationResult.MESSAGE_DELIMETER
.
toString()
- Method in interface org.sovt.
ValidationResult
transform(Object, String)
- Static method in class org.sovt.
Sovt
Performs transformation of the object.
transform(Object)
- Method in interface org.sovt.
Transformer
Transforms given object.
transform(Object)
- Method in class org.sovt.impl.
GroupTransformer
Transforms object by invoking all transformers on it.
transform(Object)
- Method in class org.sovt.impl.
PropertySelector
Transforms given object.
transform(Object)
- Method in class org.sovt.impl.
TrimTransformer
Trims string value.
V
ValidationResult
- interface org.sovt.
ValidationResult
.
This interface is used to create and access result of SOVT validation or inspection.
Validator
- interface org.sovt.
Validator
.
This is interface for object validation.
ValidatorFactory
- class org.sovt.xml.
ValidatorFactory
.
Factory of Validator objects for digister.
ValidatorFactory()
- Constructor for class org.sovt.xml.
ValidatorFactory
Creates instance of ValidatorFactory.
validate(Object, String)
- Static method in class org.sovt.
Sovt
Performs validation of the object.
validate(Object, ValidationResult)
- Method in interface org.sovt.
Validator
Implementation should validate given object and use result parameter to store stores validation result.
validate(Object, ValidationResult)
- Method in class org.sovt.impl.
GroupValidator
Validates object by invoking all validators on it.
validate(Object, ValidationResult)
- Method in class org.sovt.impl.
LengthValidator
Validates if object string value is in specified range.
validate(Object, ValidationResult)
- Method in class org.sovt.impl.
PropertySelector
Implementation should validate given object and use result parameter to store stores validation result.
validate(Object, ValidationResult)
- Method in class org.sovt.impl.
RequiredValidator
A
C
D
F
G
I
L
M
O
P
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2005 . All Rights Reserved.