|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.instance.data.DataVisitor org.jbind.xml.instance.builder.ValidationVisitor
Constructor Summary | |
ValidationVisitor(boolean aValidateContentModel)
|
Method Summary | |
void |
validate(IAnyTypeData aData,
IDataContext aDataContext,
IConstraintViolations aViolations)
Validates a data object. |
void |
visitAnyTypeDataEnds(IAnyTypeData aData)
|
void |
visitAnyTypeDataStarts(IAnyTypeData aData)
|
Methods inherited from class org.jbind.xml.instance.data.DataVisitor |
visitAnyComplexCCDataEnds, visitAnyComplexCCDataStarts, visitAnyComplexDataEnds, visitAnyComplexDataStarts, visitAnyComplexSCDataEnds, visitAnyComplexSCDataStarts, visitAnySimpleDataEnds, visitAnySimpleDataStarts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidationVisitor(boolean aValidateContentModel)
Method Detail |
public void visitAnyTypeDataStarts(IAnyTypeData aData)
visitAnyTypeDataStarts
in interface IDataVisitor
visitAnyTypeDataStarts
in class DataVisitor
public void visitAnyTypeDataEnds(IAnyTypeData aData)
visitAnyTypeDataEnds
in interface IDataVisitor
visitAnyTypeDataEnds
in class DataVisitor
public void validate(IAnyTypeData aData, IDataContext aDataContext, IConstraintViolations aViolations)
IDataValidator
validate
in interface IDataValidator
aData
- (required).aDataContext
- (optional).aViolations
- (required). Collects constraint violations.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |