public class JAXBUtil extends Object
| Constructor and Description |
|---|
JAXBUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
parseURL(URL url,
Class<?> objectFactoryClass)
Unmarshals the url given to the provided Type T using the object factory class provided as an argument.
If the resource cannot be found, then an IllegalStateException is thrown |
public static <T> T parseURL(URL url, Class<?> objectFactoryClass)
IllegalStateException is thrownurl - the URL of the resource to be parsed as XML.objectFactoryClass - the class of ObjectFactory generated for the root schema.Copyright © 2019–2020 toop.eu. All rights reserved.