|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Validator
Nested Class Summary | |
---|---|
static interface |
Validator.Factory
|
static interface |
Validator.SchemaDocumentResolver
|
Method Summary | |
---|---|
void |
validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver)
Validate a portion of the supplied document. |
Method Detail |
---|
void validate(Object fieldValue, String fieldName, Document document, Path pathToDocument, Problems problems, Validator.SchemaDocumentResolver resolver)
fieldValue
- the field value to be validated; may be nullfieldName
- the field name to be validated; may be null if the field value is not known or the validator is to
validate the documentdocument
- the document; never nullpathToDocument
- the path to the supplied document; never null but may be a zero-length path if the document is the
top-level documentproblems
- the problems where any errors or warnings should be recorded; never nullresolver
- the component that can be used to resolve references to other schema documents
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |