JAXBTYPE - The JAXB type to be writtenpublic interface IJAXBValidator<JAXBTYPE>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isValid(JAXBTYPE aJAXBDocument)
Check if the passed JAXB document is valid according to the XSD or not.
|
default com.helger.commons.error.list.IErrorList |
validate(JAXBTYPE aJAXBDocument)
Validate the passed JAXB document.
|
void |
validate(JAXBTYPE aJAXBDocument,
com.helger.commons.error.list.ErrorList aErrorList)
Validate the passed JAXB document.
|
default boolean isValid(@Nonnull JAXBTYPE aJAXBDocument)
aJAXBDocument - The JAXB document to be validated. May not be null.true if the document is valid, false if
not.validate(Object)void validate(@Nonnull JAXBTYPE aJAXBDocument, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
aJAXBDocument - The JAXB document to be validated. May not be null.aErrorList - The error list to be filled. May not be null.Copyright © 2015–2021 Philip Helger. All rights reserved.