Module xml.jackson.extensions
Interface JacksonXmlFileToObject
- All Superinterfaces:
io.github.astrapi69.xml.api.XmlFileToObject
- All Known Implementing Classes:
XmlFileToObjectConverter
public interface JacksonXmlFileToObject
extends io.github.astrapi69.xml.api.XmlFileToObject
The interface
JacksonXmlFileToObject
extends the interface XmlFileToObject
and
will provide algorithms for transform a xml file to an object-
Method Summary
Modifier and TypeMethodDescription<T> T
Creates from the given xml string an java object.<T> T
Creates from the given xml string an java object.Methods inherited from interface io.github.astrapi69.xml.api.XmlFileToObject
toObject
-
Method Details
-
toObject
Creates from the given xml string an java object.- Type Parameters:
T
- the generic type of the return type- Parameters:
xmlFile
- the xml file objecttypeReference
- the type reference- Returns:
- the object
-
toObject
Creates from the given xml string an java object.- Type Parameters:
T
- the generic type of the return type- Parameters:
xmlFile
- the xml file objectjavaType
- the java type- Returns:
- the object
-