T - type of JAXB modelpublic interface JAXBModelParser<T>
| Modifier and Type | Method and Description |
|---|---|
T |
readXML(String xmlContent,
Class<T> type)
Loads XML into memory and converts to a type
|
void |
validateXML(String xmlContent)
Validates xml content against resolved schema
|
void validateXML(String xmlContent) throws IOException, SAXException
xmlContent - xml content to validateIOException - content related exceptionSAXException - validation related execptionT readXML(String xmlContent, Class<T> type) throws IOException, SAXException
xmlContent - xml content to loadtype - type to convert xml toIOException - content related exceptionSAXException - parsing related execptionCopyright © 2005–2021 dozer. All rights reserved.